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