Class CommentEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.CommentEntityImpl
-
- All Implemented Interfaces:
Serializable,HistoricData,CommentEntity,Entity,Comment,Event
@Internal @Deprecated public class CommentEntityImpl extends AbstractEntityNoRevision implements CommentEntity, Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringactionDeprecated.protected StringfullMessageDeprecated.protected StringmessageDeprecated.static StringMESSAGE_PARTS_MARKERDeprecated.static PatternMESSAGE_PARTS_MARKER_REGEXDeprecated.protected StringprocessInstanceIdDeprecated.protected StringtaskIdDeprecated.protected DatetimeDeprecated.protected StringtypeDeprecated.protected StringuserIdDeprecated.-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
Fields inherited from interface org.activiti.engine.impl.persistence.entity.CommentEntity
TYPE_COMMENT, TYPE_EVENT
-
Fields inherited from interface org.activiti.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 Constructor Description CommentEntityImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAction()Deprecated.Indicates the type of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts()StringgetFullMessage()Deprecated.the full comment message the user had related to the task and/or process instancebyte[]getFullMessageBytes()Deprecated.StringgetMessage()Deprecated.The message that can be used in case this action only has a single message part.List<String>getMessageParts()Deprecated.The meaning of the message parts is defined by the action as you can find inEvent.getAction()ObjectgetPersistentState()Deprecated.Returns a representation of the object, as would be stored in the database.StringgetProcessInstanceId()Deprecated.reference to the process instance on which this comment was madeStringgetTaskId()Deprecated.reference to the task on which this comment was madeDategetTime()Deprecated.time and date when the user made the commentStringgetType()Deprecated.reference to the type given to the commentStringgetUserId()Deprecated.reference to the user that made the commentvoidsetAction(String action)Deprecated.voidsetFullMessage(String fullMessage)Deprecated.voidsetFullMessageBytes(byte[] fullMessageBytes)Deprecated.voidsetMessage(String message)Deprecated.voidsetMessage(String[] messageParts)Deprecated.voidsetProcessInstanceId(String processInstanceId)Deprecated.voidsetTaskId(String taskId)Deprecated.voidsetTime(Date time)Deprecated.voidsetType(String type)Deprecated.voidsetUserId(String userId)Deprecated.-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Field Detail
-
type
protected String type
Deprecated.
-
userId
protected String userId
Deprecated.
-
time
protected Date time
Deprecated.
-
taskId
protected String taskId
Deprecated.
-
processInstanceId
protected String processInstanceId
Deprecated.
-
action
protected String action
Deprecated.
-
message
protected String message
Deprecated.
-
fullMessage
protected String fullMessage
Deprecated.
-
MESSAGE_PARTS_MARKER
public static String MESSAGE_PARTS_MARKER
Deprecated.
-
MESSAGE_PARTS_MARKER_REGEX
public static Pattern MESSAGE_PARTS_MARKER_REGEX
Deprecated.
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Deprecated.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()
Deprecated.- Specified by:
getFullMessageBytesin interfaceCommentEntity
-
setFullMessageBytes
public void setFullMessageBytes(byte[] fullMessageBytes)
Deprecated.- Specified by:
setFullMessageBytesin interfaceCommentEntity
-
setMessage
public void setMessage(String[] messageParts)
Deprecated.- Specified by:
setMessagein interfaceCommentEntity
-
getMessageParts
public List<String> getMessageParts()
Deprecated.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
public String getUserId()
Deprecated.Description copied from interface:Commentreference to the user that made the comment
-
setUserId
public void setUserId(String userId)
Deprecated.- Specified by:
setUserIdin interfaceCommentEntity
-
getTaskId
public String getTaskId()
Deprecated.Description copied from interface:Commentreference to the task on which this comment was made
-
setTaskId
public void setTaskId(String taskId)
Deprecated.- Specified by:
setTaskIdin interfaceCommentEntity
-
getMessage
public String getMessage()
Deprecated.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
public void setMessage(String message)
Deprecated.- Specified by:
setMessagein interfaceCommentEntity
-
getTime
public Date getTime()
Deprecated.Description copied from interface:Commenttime and date when the user made the comment
-
setTime
public void setTime(Date time)
Deprecated.- Specified by:
setTimein interfaceCommentEntity
-
getProcessInstanceId
public String getProcessInstanceId()
Deprecated.Description copied from interface:Commentreference to the process instance on which this comment was made- Specified by:
getProcessInstanceIdin interfaceComment- Specified by:
getProcessInstanceIdin interfaceEvent
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
Deprecated.- Specified by:
setProcessInstanceIdin interfaceCommentEntity
-
getType
public String getType()
Deprecated.Description copied from interface:Commentreference to the type given to the comment
-
setType
public void setType(String type)
Deprecated.- Specified by:
setTypein interfaceCommentEntity
-
getFullMessage
public String getFullMessage()
Deprecated.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:
TaskService.getTaskComments(String)
-
setFullMessage
public void setFullMessage(String fullMessage)
Deprecated.- Specified by:
setFullMessagein interfaceCommentEntity
-
getAction
public String getAction()
Deprecated.Description copied from interface:EventIndicates the type of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts()
-
setAction
public void setAction(String action)
Deprecated.- Specified by:
setActionin interfaceCommentEntity
-
-