public class DeleteContentItemCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
contentItemId |
Constructor and Description |
---|
DeleteContentItemCmd(String contentItemId) |
Modifier and Type | Method and Description |
---|---|
protected static void |
deleteContentItemsInCascade(CommandContext commandContext,
ContentItemEntity contentItem) |
protected static void |
deleteContentStorageObject(CommandContext commandContext,
String contentStoreId,
boolean contentAvailable) |
protected static void |
deleteRenditions(CommandContext commandContext,
ContentItemEntity contentItem) |
Void |
execute(CommandContext commandContext) |
protected String contentItemId
public DeleteContentItemCmd(String contentItemId)
public Void execute(CommandContext commandContext)
protected static void deleteContentItemsInCascade(CommandContext commandContext, ContentItemEntity contentItem)
protected static void deleteRenditions(CommandContext commandContext, ContentItemEntity contentItem)
protected static void deleteContentStorageObject(CommandContext commandContext, String contentStoreId, boolean contentAvailable)