public interface StateUpdateCommand extends UpdateCommandDsl<State,StateUpdateCommand>, MetaModelReferenceExpansionDsl<State,StateUpdateCommand,StateExpansionModel<State>>
Known UpdateActions
State
Modifier and Type | Method and Description |
---|---|
static 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 |
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 |
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 |
ofKey(String key,
Long version,
UpdateAction<State> updateAction)
Creates a command to update a State selected by its key using one update action.
|
plusUpdateActions, withAdditionalHttpQueryParameters, withUpdateActions, withVersion, withVersion
getUpdateActions
canDeserialize, deserialize, httpRequestIntent
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
static StateUpdateCommand of(Versioned<State> versioned, List<? extends UpdateAction<State>> updateActions)
versioned
- the object to update (so directly a State
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static StateUpdateCommand of(Versioned<State> versioned, UpdateAction<State> updateAction, UpdateAction<State>... updateActions)
versioned
- the object to update (so directly a State
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to performstatic StateUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<State>> updateActions)
key
- the key of the State to update, see State.getKey()
version
- the current version of the State, see Resource.getVersion()
updateActions
- the updatesstatic StateUpdateCommand ofKey(String key, Long version, UpdateAction<State> updateAction)
key
- the key of the State to update, see State.getKey()
version
- the current version of the State, see Resource.getVersion()
updateAction
- the update to perform