Class DeleteContentItemCmd
- java.lang.Object
-
- com.flowable.content.engine.impl.cmd.DeleteContentItemCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class DeleteContentItemCmd extends Object implements Command<Void>, Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcontentItemId
-
Constructor Summary
Constructors Constructor Description DeleteContentItemCmd(String contentItemId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voiddeleteContentItemsInCascade(CommandContext commandContext, ContentItemEntity contentItem)protected static voiddeleteContentStorageObject(CommandContext commandContext, String contentStoreId, boolean contentAvailable)protected static voiddeleteRenditions(CommandContext commandContext, ContentItemEntity contentItem)Voidexecute(CommandContext commandContext)
-
-
-
Field Detail
-
contentItemId
protected String contentItemId
-
-
Constructor Detail
-
DeleteContentItemCmd
public DeleteContentItemCmd(String contentItemId)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
deleteContentItemsInCascade
protected static void deleteContentItemsInCascade(CommandContext commandContext, ContentItemEntity contentItem)
-
deleteRenditions
protected static void deleteRenditions(CommandContext commandContext, ContentItemEntity contentItem)
-
deleteContentStorageObject
protected static void deleteContentStorageObject(CommandContext commandContext, String contentStoreId, boolean contentAvailable)
-
-