Class CommentEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.CommentEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,HistoricData,CommentEntity,Entity,Comment,Event
@Internal @Deprecated public class CommentEntityImpl extends AbstractEntityNoRevision implements CommentEntity, java.io.Serializable
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactionDeprecated.protected java.lang.StringfullMessageDeprecated.protected java.lang.StringmessageDeprecated.static java.lang.StringMESSAGE_PARTS_MARKERDeprecated.static java.util.regex.PatternMESSAGE_PARTS_MARKER_REGEXDeprecated.protected java.lang.StringprocessInstanceIdDeprecated.protected java.lang.StringtaskIdDeprecated.protected java.util.DatetimeDeprecated.protected java.lang.StringtypeDeprecated.protected java.lang.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 java.lang.StringgetAction()Deprecated.Indicates the type of of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts()java.lang.StringgetFullMessage()Deprecated.the full comment message the user had related to the task and/or process instancebyte[]getFullMessageBytes()Deprecated.java.lang.StringgetMessage()Deprecated.The message that can be used in case this action only has a single message part.java.util.List<java.lang.String>getMessageParts()Deprecated.The meaning of the message parts is defined by the action as you can find inEvent.getAction()java.lang.ObjectgetPersistentState()Deprecated.Returns a representation of the object, as would be stored in the database.java.lang.StringgetProcessInstanceId()Deprecated.reference to the process instance on which this comment was madejava.lang.StringgetTaskId()Deprecated.reference to the task on which this comment was madejava.util.DategetTime()Deprecated.time and date when the user made the commentjava.lang.StringgetType()Deprecated.reference to the type given to the commentjava.lang.StringgetUserId()Deprecated.reference to the user that made the commentvoidsetAction(java.lang.String action)Deprecated.voidsetFullMessage(java.lang.String fullMessage)Deprecated.voidsetFullMessageBytes(byte[] fullMessageBytes)Deprecated.voidsetMessage(java.lang.String message)Deprecated.voidsetMessage(java.lang.String[] messageParts)Deprecated.voidsetProcessInstanceId(java.lang.String processInstanceId)Deprecated.voidsetTaskId(java.lang.String taskId)Deprecated.voidsetTime(java.util.Date time)Deprecated.voidsetType(java.lang.String type)Deprecated.voidsetUserId(java.lang.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 java.lang.String type
Deprecated.
-
userId
protected java.lang.String userId
Deprecated.
-
time
protected java.util.Date time
Deprecated.
-
taskId
protected java.lang.String taskId
Deprecated.
-
processInstanceId
protected java.lang.String processInstanceId
Deprecated.
-
action
protected java.lang.String action
Deprecated.
-
message
protected java.lang.String message
Deprecated.
-
fullMessage
protected java.lang.String fullMessage
Deprecated.
-
MESSAGE_PARTS_MARKER
public static java.lang.String MESSAGE_PARTS_MARKER
Deprecated.
-
MESSAGE_PARTS_MARKER_REGEX
public static java.util.regex.Pattern MESSAGE_PARTS_MARKER_REGEX
Deprecated.
-
-
Method Detail
-
getPersistentState
public java.lang.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(java.lang.String[] messageParts)
Deprecated.- Specified by:
setMessagein interfaceCommentEntity
-
getMessageParts
public java.util.List<java.lang.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 java.lang.String getUserId()
Deprecated.Description copied from interface:Commentreference to the user that made the comment
-
setUserId
public void setUserId(java.lang.String userId)
Deprecated.- Specified by:
setUserIdin interfaceCommentEntity
-
getTaskId
public java.lang.String getTaskId()
Deprecated.Description copied from interface:Commentreference to the task on which this comment was made
-
setTaskId
public void setTaskId(java.lang.String taskId)
Deprecated.- Specified by:
setTaskIdin interfaceCommentEntity
-
getMessage
public java.lang.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(java.lang.String message)
Deprecated.- Specified by:
setMessagein interfaceCommentEntity
-
getTime
public java.util.Date getTime()
Deprecated.Description copied from interface:Commenttime and date when the user made the comment
-
setTime
public void setTime(java.util.Date time)
Deprecated.- Specified by:
setTimein interfaceCommentEntity
-
getProcessInstanceId
public java.lang.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(java.lang.String processInstanceId)
Deprecated.- Specified by:
setProcessInstanceIdin interfaceCommentEntity
-
getType
public java.lang.String getType()
Deprecated.Description copied from interface:Commentreference to the type given to the comment
-
setType
public void setType(java.lang.String type)
Deprecated.- Specified by:
setTypein interfaceCommentEntity
-
getFullMessage
public java.lang.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(java.lang.String fullMessage)
Deprecated.- Specified by:
setFullMessagein interfaceCommentEntity
-
getAction
public java.lang.String getAction()
Deprecated.Description copied from interface:EventIndicates the type of of action and also indicates the meaning of the parts as exposed inEvent.getMessageParts()
-
setAction
public void setAction(java.lang.String action)
Deprecated.- Specified by:
setActionin interfaceCommentEntity
-
-