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