public interface ShoppingListUpdateCommand extends UpdateCommandDsl<ShoppingList,ShoppingListUpdateCommand>, MetaModelReferenceExpansionDsl<ShoppingList,ShoppingListUpdateCommand,ShoppingListExpansionModel<ShoppingList>>
Known UpdateActions
ShoppingList
Modifier and Type | Method and Description |
---|---|
static ShoppingListUpdateCommand |
of(Versioned<ShoppingList> versioned,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its ID using several update actions.
|
static ShoppingListUpdateCommand |
of(Versioned<ShoppingList> versioned,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions)
Creates a command to update a ShoppingList selected by its ID using one update action.
|
static ShoppingListUpdateCommand |
ofKey(String key,
Long version,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its key using several update actions.
|
static ShoppingListUpdateCommand |
ofKey(String key,
Long version,
UpdateAction<ShoppingList> updateAction)
Creates a command to update a ShoppingList 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 ShoppingListUpdateCommand of(Versioned<ShoppingList> versioned, List<? extends UpdateAction<ShoppingList>> updateActions)
versioned
- the object to update (so directly a ShoppingList
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static ShoppingListUpdateCommand of(Versioned<ShoppingList> versioned, UpdateAction<ShoppingList> updateAction, UpdateAction<ShoppingList>... updateActions)
versioned
- the object to update (so directly a ShoppingList
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to performstatic ShoppingListUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<ShoppingList>> updateActions)
key
- the key of the ShoppingList to update, see ShoppingList.getKey()
version
- the current version of the ShoppingList, see Resource.getVersion()
updateActions
- the updatesstatic ShoppingListUpdateCommand ofKey(String key, Long version, UpdateAction<ShoppingList> updateAction)
key
- the key of the ShoppingList to update, see ShoppingList.getKey()
version
- the current version of the ShoppingList, see Resource.getVersion()
updateAction
- the update to perform