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