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