Class CreateAttachmentCmd

    • Field Detail

      • taskId

        protected java.lang.String taskId
      • attachmentType

        protected java.lang.String attachmentType
      • processInstanceId

        protected java.lang.String processInstanceId
      • attachmentName

        protected java.lang.String attachmentName
      • attachmentDescription

        protected java.lang.String attachmentDescription
      • content

        protected java.io.InputStream content
      • url

        protected java.lang.String url
    • Constructor Detail

      • CreateAttachmentCmd

        public CreateAttachmentCmd​(java.lang.String attachmentType,
                                   java.lang.String taskId,
                                   java.lang.String processInstanceId,
                                   java.lang.String attachmentName,
                                   java.lang.String attachmentDescription,
                                   java.io.InputStream content,
                                   java.lang.String url)
    • Method Detail

      • isHistoryRemovalTimeStrategyStart

        protected boolean isHistoryRemovalTimeStrategyStart()
      • getHistoryRemovalTimeStrategy

        protected java.lang.String getHistoryRemovalTimeStrategy()
      • provideRemovalTime

        protected void provideRemovalTime​(AttachmentEntity attachment)