Class DeleteContentItemCmd
java.lang.Object
com.flowable.content.engine.impl.cmd.DeleteContentItemCmd
- All Implemented Interfaces:
java.io.Serializable
,org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
public class DeleteContentItemCmd
extends java.lang.Object
implements org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>, java.io.Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
contentItemId
-
Constructor Summary
Constructors Constructor Description DeleteContentItemCmd(java.lang.String contentItemId)
-
Method Summary
Modifier and Type Method Description protected static void
deleteContentItemsInCascade(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ContentItemEntity contentItem)
protected static void
deleteContentStorageObject(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, java.lang.String contentStoreId, boolean contentAvailable)
protected static void
deleteRenditions(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ContentItemEntity contentItem)
java.lang.Void
execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
contentItemId
protected java.lang.String contentItemId
-
-
Constructor Details
-
DeleteContentItemCmd
public DeleteContentItemCmd(java.lang.String contentItemId)
-
-
Method Details
-
execute
public java.lang.Void execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
execute
in interfaceorg.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
-
deleteContentItemsInCascade
protected static void deleteContentItemsInCascade(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ContentItemEntity contentItem) -
deleteRenditions
protected static void deleteRenditions(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, ContentItemEntity contentItem) -
deleteContentStorageObject
protected static void deleteContentStorageObject(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, java.lang.String contentStoreId, boolean contentAvailable)
-