Class DeleteAttachmentCmd

  • All Implemented Interfaces:
    java.io.Serializable, Command<java.lang.Object>

    public class DeleteAttachmentCmd
    extends java.lang.Object
    implements Command<java.lang.Object>, java.io.Serializable
    Author:
    Tom Baeyens, Joram Barrez
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String attachmentId  
      protected java.lang.String taskId  
    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteAttachmentCmd​(java.lang.String attachmentId)  
      DeleteAttachmentCmd​(java.lang.String taskId, java.lang.String attachmentId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(CommandContext commandContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command

        isRetryable
    • Field Detail

      • attachmentId

        protected java.lang.String attachmentId
      • taskId

        protected java.lang.String taskId
    • Constructor Detail

      • DeleteAttachmentCmd

        public DeleteAttachmentCmd​(java.lang.String attachmentId)
      • DeleteAttachmentCmd

        public DeleteAttachmentCmd​(java.lang.String taskId,
                                   java.lang.String attachmentId)
    • Method Detail

      • execute

        public java.lang.Object execute​(CommandContext commandContext)
        Specified by:
        execute in interface Command<java.lang.Object>