All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.categories.commands.CategoryUpdateCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.categories.commands;

import io.sphere.sdk.categories.Category;
import io.sphere.sdk.categories.expansion.CategoryExpansionModel;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.commands.UpdateCommandDsl;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;

import java.util.Collections;
import java.util.List;
import java.util.function.Function;

/**
 * 

Updates a category.

* {@doc.gen list actions} */ public interface CategoryUpdateCommand extends UpdateCommandDsl, MetaModelExpansionDsl> { static CategoryUpdateCommand of(final Versioned versioned, final UpdateAction updateAction) { return of(versioned, Collections.singletonList(updateAction)); } static CategoryUpdateCommand of(final Versioned versioned, final List> updateActions) { return new CategoryUpdateCommandImpl(versioned, updateActions); } @Override CategoryUpdateCommand plusExpansionPaths(final Function, ExpansionPath> m); @Override CategoryUpdateCommand withExpansionPaths(final Function, ExpansionPath> m); @Override CategoryUpdateCommand withExpansionPaths(final List> expansionPaths); @Override CategoryUpdateCommand withExpansionPaths(final ExpansionPath expansionPath); @Override CategoryUpdateCommand plusExpansionPaths(final List> expansionPaths); @Override CategoryUpdateCommand plusExpansionPaths(final ExpansionPath expansionPath); @Override CategoryUpdateCommand withVersion(final Versioned versioned); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy