Class CommentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
org.flowable.engine.impl.persistence.entity.CommentEntityImpl
- All Implemented Interfaces:
Serializable,HistoricData,Entity,CommentEntity,Comment,Event
public class CommentEntityImpl
extends AbstractBpmnEngineNoRevisionEntity
implements CommentEntity, Serializable
- Author:
- Tom Baeyens
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringstatic final Stringstatic final Patternprotected Stringprotected Stringprotected Dateprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentStateFields inherited from interface org.flowable.engine.impl.persistence.entity.CommentEntity
TYPE_COMMENT, TYPE_EVENTFields inherited from interface org.flowable.engine.task.Event
ACTION_ADD_ATTACHMENT, ACTION_ADD_COMMENT, ACTION_ADD_GROUP_LINK, ACTION_ADD_USER_LINK, ACTION_DELETE_ATTACHMENT, ACTION_DELETE_GROUP_LINK, ACTION_DELETE_USER_LINK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates the type of of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts()the full comment message the user had related to the task and/or process instancebyte[]The message that can be used in case this action only has a single message part.The meaning of the message parts is defined by the action as you can find inEvent.getAction()Returns a representation of the object, as would be stored in the database.reference to the process instance on which this comment was madereference to the task on which this comment was madegetTime()time and date when the user made the commentgetType()reference to the type given to the commentreference to the user that made the commentvoidvoidsetFullMessage(String fullMessage) voidsetFullMessageBytes(byte[] fullMessageBytes) voidsetMessage(String message) voidsetMessage(String[] messageParts) voidsetProcessInstanceId(String processInstanceId) voidvoidvoidvoidMethods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
type
-
userId
-
time
-
taskId
-
processInstanceId
-
action
-
message
-
fullMessage
-
MESSAGE_PARTS_MARKER
- See Also:
-
MESSAGE_PARTS_MARKER_REGEX
-
-
Constructor Details
-
CommentEntityImpl
public CommentEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:EntityReturns 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:
getPersistentStatein interfaceEntity
-
getFullMessageBytes
public byte[] getFullMessageBytes()- Specified by:
getFullMessageBytesin interfaceCommentEntity
-
setFullMessageBytes
public void setFullMessageBytes(byte[] fullMessageBytes) - Specified by:
setFullMessageBytesin interfaceCommentEntity
-
setMessage
- Specified by:
setMessagein interfaceCommentEntity
-
getMessageParts
Description copied from interface:EventThe meaning of the message parts is defined by the action as you can find inEvent.getAction()- Specified by:
getMessagePartsin interfaceEvent
-
getUserId
Description copied from interface:Commentreference to the user that made the comment -
setUserId
-
getTaskId
Description copied from interface:Commentreference to the task on which this comment was made -
setTaskId
-
getMessage
Description copied from interface:EventThe message that can be used in case this action only has a single message part.- Specified by:
getMessagein interfaceEvent
-
setMessage
- Specified by:
setMessagein interfaceCommentEntity
-
getTime
Description copied from interface:Commenttime and date when the user made the comment -
setTime
-
getProcessInstanceId
Description copied from interface:Commentreference to the process instance on which this comment was made- Specified by:
getProcessInstanceIdin interfaceComment- Specified by:
getProcessInstanceIdin interfaceEvent
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceComment
-
getType
Description copied from interface:Commentreference to the type given to the comment -
setType
-
getFullMessage
Description copied from interface:Commentthe full comment message the user had related to the task and/or process instance- Specified by:
getFullMessagein interfaceComment- See Also:
-
setFullMessage
- Specified by:
setFullMessagein interfaceComment
-
getAction
Description copied from interface:EventIndicates the type of of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts() -
setAction
- Specified by:
setActionin interfaceCommentEntity
-