Class CommentEntity

    • Constructor Detail

      • CommentEntity

        public CommentEntity()
    • 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
      • getFullMessageBytes

        public byte[] getFullMessageBytes()
      • setFullMessageBytes

        public void setFullMessageBytes​(byte[] fullMessageBytes)
      • setMessage

        public void setMessage​(String[] messageParts)
      • getUserId

        public String getUserId()
        Description copied from interface: Comment
        reference to the user that made the comment
        Specified by:
        getUserId in interface Comment
        Specified by:
        getUserId in interface Event
      • setUserId

        public void setUserId​(String userId)
      • getTaskId

        public String getTaskId()
        Description copied from interface: Comment
        reference to the task on which this comment was made
        Specified by:
        getTaskId in interface Comment
        Specified by:
        getTaskId in interface Event
      • setTaskId

        public void setTaskId​(String taskId)
      • getMessage

        public String getMessage()
        Description copied from interface: Event
        The message that can be used in case this action only has a single message part.
        Specified by:
        getMessage in interface Event
      • setMessage

        public void setMessage​(String message)
      • getTime

        public Date getTime()
        Description copied from interface: Comment
        time and date when the user made the comment
        Specified by:
        getTime in interface Comment
        Specified by:
        getTime in interface Event
      • setTime

        public void setTime​(Date time)
      • setProcessInstanceId

        public void setProcessInstanceId​(String processInstanceId)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • setFullMessage

        public void setFullMessage​(String fullMessage)
      • getAction

        public String getAction()
        Description copied from interface: Event
        Indicates the type of of action and also indicates the meaning of the parts as exposed in Event.getMessageParts()
        Specified by:
        getAction in interface Event
      • setAction

        public void setAction​(String action)
      • getTenantId

        public String getTenantId()
      • setTenantId

        public void setTenantId​(String tenantId)
      • getRootProcessInstanceId

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

        public void setRootProcessInstanceId​(String rootProcessInstanceId)
      • getRemovalTime

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

        public void setRemovalTime​(Date removalTime)