Class CommentEntity

    • Field Detail

      • id

        protected java.lang.String id
      • type

        protected java.lang.String type
      • userId

        protected java.lang.String userId
      • time

        protected java.util.Date time
      • taskId

        protected java.lang.String taskId
      • processInstanceId

        protected java.lang.String processInstanceId
      • action

        protected java.lang.String action
      • message

        protected java.lang.String message
      • fullMessage

        protected java.lang.String fullMessage
      • tenantId

        protected java.lang.String tenantId
      • rootProcessInstanceId

        protected java.lang.String rootProcessInstanceId
      • removalTime

        protected java.util.Date removalTime
      • MESSAGE_PARTS_MARKER

        public static java.lang.String MESSAGE_PARTS_MARKER
    • Constructor Detail

      • CommentEntity

        public CommentEntity()
    • Method Detail

      • getPersistentState

        public java.lang.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​(java.lang.String[] messageParts)
      • getMessageParts

        public java.util.List<java.lang.String> getMessageParts()
        Description copied from interface: Event
        The meaning of the message parts is defined by the action as you can find in Event.getAction()
        Specified by:
        getMessageParts in interface Event
      • getId

        public java.lang.String getId()
        Description copied from interface: Comment
        comment id
        Specified by:
        getId in interface Comment
        Specified by:
        getId in interface DbEntity
      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface DbEntity
      • getUserId

        public java.lang.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​(java.lang.String userId)
      • getTaskId

        public java.lang.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​(java.lang.String taskId)
      • getMessage

        public java.lang.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​(java.lang.String message)
      • getTime

        public java.util.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​(java.util.Date time)
      • setProcessInstanceId

        public void setProcessInstanceId​(java.lang.String processInstanceId)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • setFullMessage

        public void setFullMessage​(java.lang.String fullMessage)
      • getAction

        public java.lang.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​(java.lang.String action)
      • getTenantId

        public java.lang.String getTenantId()
      • setTenantId

        public void setTenantId​(java.lang.String tenantId)
      • getRootProcessInstanceId

        public java.lang.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​(java.lang.String rootProcessInstanceId)
      • getRemovalTime

        public java.util.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​(java.util.Date removalTime)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object