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