public interface ProductSelectionDeleteCommand extends MetaModelReferenceExpansionDsl<ProductSelection,ProductSelectionDeleteCommand,ProductSelectionExpansionModel<ProductSelection>>, DeleteCommand<ProductSelection>
ProductSelection
Modifier and Type | Method and Description |
---|---|
static ProductSelectionDeleteCommand |
of(Versioned<ProductSelection> versioned)
Creates a command object to delete a
ProductSelection by ID. |
static ProductSelectionDeleteCommand |
ofId(String id,
Long version)
Creates a command object to delete a
ProductSelection by its id. |
static ProductSelectionDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
ProductSelection by its key. |
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static ProductSelectionDeleteCommand of(Versioned<ProductSelection> versioned)
ProductSelection
by ID.versioned
- the object to delete (so directly a ProductSelection
) or just the version/ID information of itstatic ProductSelectionDeleteCommand ofKey(String key, Long version)
ProductSelection
by its key.key
- the key of the ProductSelection to delete, see ProductSelection.getKey()
version
- `the current version of the ProductSelection, see Resource.getVersion()
static ProductSelectionDeleteCommand ofId(String id, Long version)
ProductSelection
by its id.id
- the id of the ProductSelection to delete, see Resource.getId()
version
- `the current version of the ProductSelection, see Resource.getVersion()