Package | Description |
---|---|
io.sphere.sdk.types.commands |
Provides types to change the state of types.
|
Modifier and Type | Method and Description |
---|---|
static TypeUpdateCommand |
TypeUpdateCommand.of(Versioned<Type> versioned,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its ID using several update actions.
|
static TypeUpdateCommand |
TypeUpdateCommand.of(Versioned<Type> versioned,
UpdateAction<Type> updateAction,
UpdateAction<Type>... updateActions)
Creates a command to update a Type selected by its ID using one update action.
|
static TypeUpdateCommand |
TypeUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Type>> updateActions)
Creates a command to update a Type selected by its key using several update actions.
|
static TypeUpdateCommand |
TypeUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Type> updateAction)
Creates a command to update a Type selected by its key using one update action.
|