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