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