Class AttachmentEntity

    • Field Detail

      • revision

        protected int revision
      • description

        protected String description
      • taskId

        protected String taskId
      • processInstanceId

        protected String processInstanceId
      • contentId

        protected String contentId
      • tenantId

        protected String tenantId
      • createTime

        protected Date createTime
      • rootProcessInstanceId

        protected String rootProcessInstanceId
      • removalTime

        protected Date removalTime
    • Constructor Detail

      • AttachmentEntity

        public AttachmentEntity()
    • Method Detail

      • getPersistentState

        public Object getPersistentState()
        Description copied from interface: DbEntity
        Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.
        Specified by:
        getPersistentState in interface DbEntity
      • getName

        public String getName()
        Description copied from interface: Attachment
        free user defined short (max 255 chars) name for this attachment
        Specified by:
        getName in interface Attachment
      • setName

        public void setName​(String name)
        Description copied from interface: Attachment
        free user defined short (max 255 chars) name for this attachment
        Specified by:
        setName in interface Attachment
      • getDescription

        public String getDescription()
        Description copied from interface: Attachment
        long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
        Specified by:
        getDescription in interface Attachment
      • setDescription

        public void setDescription​(String description)
        Description copied from interface: Attachment
        long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
        Specified by:
        setDescription in interface Attachment
      • getType

        public String getType()
        Description copied from interface: Attachment
        indication of the type of content that this attachment refers to. Can be mime type or any other indication.
        Specified by:
        getType in interface Attachment
      • setType

        public void setType​(String type)
      • getTaskId

        public String getTaskId()
        Description copied from interface: Attachment
        reference to the task to which this attachment is associated.
        Specified by:
        getTaskId in interface Attachment
      • setTaskId

        public void setTaskId​(String taskId)
      • getProcessInstanceId

        public String getProcessInstanceId()
        Description copied from interface: Attachment
        reference to the process instance to which this attachment is associated.
        Specified by:
        getProcessInstanceId in interface Attachment
      • setProcessInstanceId

        public void setProcessInstanceId​(String processInstanceId)
      • setUrl

        public void setUrl​(String url)
      • getContentId

        public String getContentId()
      • setContentId

        public void setContentId​(String contentId)
      • getTenantId

        public String getTenantId()
      • setTenantId

        public void setTenantId​(String tenantId)
      • getCreateTime

        public Date getCreateTime()
        Description copied from interface: Attachment
        The time when the attachment was created.
        Specified by:
        getCreateTime in interface Attachment
      • setCreateTime

        public void setCreateTime​(Date createTime)
      • getRootProcessInstanceId

        public String getRootProcessInstanceId()
        Description copied from interface: Attachment
        reference to the root process instance id of the process instance on which this attachment was made
        Specified by:
        getRootProcessInstanceId in interface Attachment
      • getRemovalTime

        public Date getRemovalTime()
        Description copied from interface: Attachment
        The time the historic attachment will be removed.
        Specified by:
        getRemovalTime in interface Attachment
      • setRemovalTime

        public void setRemovalTime​(Date removalTime)
      • setRootProcessInstanceId

        public void setRootProcessInstanceId​(String rootProcessInstanceId)