public interface ShoppingListDeleteCommand extends MetaModelReferenceExpansionDsl<ShoppingList,ShoppingListDeleteCommand,ShoppingListExpansionModel<ShoppingList>>, DeleteCommand<ShoppingList>
ShoppingList
Modifier and Type | Method and Description |
---|---|
static ShoppingListDeleteCommand |
of(Versioned<ShoppingList> versioned)
Creates a command object to delete a
ShoppingList by ID. |
static ShoppingListDeleteCommand |
of(Versioned<ShoppingList> versioned,
boolean eraseData)
Creates a command object to delete a
ShoppingList by ID. |
static ShoppingListDeleteCommand |
ofId(String id,
Long version)
Creates a command object to delete a
ShoppingList by its id. |
static ShoppingListDeleteCommand |
ofId(String id,
Long version,
boolean eraseData)
Creates a command object to delete a
ShoppingList by its id. |
static ShoppingListDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
ShoppingList by its key. |
static ShoppingListDeleteCommand |
ofKey(String key,
Long version,
boolean eraseData)
Creates a command object to delete a
ShoppingList by its key. |
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static ShoppingListDeleteCommand of(Versioned<ShoppingList> versioned)
ShoppingList
by ID.versioned
- the object to delete (so directly a ShoppingList
) or just the version/ID information of itstatic ShoppingListDeleteCommand of(Versioned<ShoppingList> versioned, boolean eraseData)
ShoppingList
by ID.versioned
- the object to delete (so directly a ShoppingList
) or just the version/ID information of iteraseData
- If set to true, Composable Commerce guarantees that all personal data related to the particular object, including invisible data, is erased, in compliance with the GDPR.static ShoppingListDeleteCommand ofKey(String key, Long version)
ShoppingList
by its key.key
- the key of the ShoppingList to delete, see ShoppingList.getKey()
version
- `the current version of the ShoppingList, see Resource.getVersion()
static ShoppingListDeleteCommand ofKey(String key, Long version, boolean eraseData)
ShoppingList
by its key.key
- the key of the ShoppingList to delete, see ShoppingList.getKey()
version
- the current version of the ShoppingList, see Resource.getVersion()
eraseData
- If set to true, Composable Commerce guarantees that all personal data related to the particular object, including invisible data, is erased, in compliance with the GDPR.static ShoppingListDeleteCommand ofId(String id, Long version)
ShoppingList
by its id.id
- the id of the ShoppingList to delete, see Resource.getId()
version
- `the current version of the ShoppingList, see Resource.getVersion()
static ShoppingListDeleteCommand ofId(String id, Long version, boolean eraseData)
ShoppingList
by its id.id
- the id of the ShoppingList to delete, see Resource.getId()
version
- the current version of the ShoppingList, see Resource.getVersion()
eraseData
- If set to true, Composable Commerce guarantees that all personal data related to the particular object, including invisible data, is erased, in compliance with the GDPR.