Class 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

      All Methods Static Methods Instance Methods Concrete Methods 
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • contentItemId

        protected java.lang.String contentItemId
    • Constructor Detail

      • DeleteContentItemCmd

        public DeleteContentItemCmd​(java.lang.String contentItemId)
    • Method Detail

      • execute

        public java.lang.Void execute​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
        Specified by:
        execute in interface org.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)