org.activiti.engine.impl.persistence.entity
类 CommentEntity

java.lang.Object
  继承者 org.activiti.engine.impl.persistence.entity.CommentEntity
所有已实现的接口:
Serializable, PersistentObject, Comment, Event

public class CommentEntity
extends Object
implements Comment, Event, PersistentObject, Serializable

作者:
Tom Baeyens
另请参见:
序列化表格

字段摘要
protected  String action
           
protected  String fullMessage
           
protected  String id
           
protected  String message
           
static String MESSAGE_PARTS_MARKER
           
protected  String processInstanceId
           
protected  String taskId
           
protected  Date time
           
protected  String type
           
static String TYPE_COMMENT
           
static String TYPE_EVENT
           
protected  String userId
           
 
从接口 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
 
构造方法摘要
CommentEntity()
           
 
方法摘要
 String getAction()
          Indicates the type of of action and also indicates the meaning of the parts as exposed in Event.getMessageParts()
 String getFullMessage()
          the full comment message the user had related to the task and/or process instance
 byte[] getFullMessageBytes()
           
 String getId()
          unique identifier for this comment
 String getMessage()
          The message that can be used in case this action only has a single message part.
 List<String> getMessageParts()
          The meaning of the message parts is defined by the action as you can find in Event.getAction()
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 String getProcessInstanceId()
          reference to the process instance on which this comment was made
 String getTaskId()
          reference to the task on which this comment was made
 Date getTime()
          time and date when the user made the comment
 String getType()
          reference to the type given to the comment
 String getUserId()
          reference to the user that made the comment
 void setAction(String action)
           
 void setFullMessage(String fullMessage)
           
 void setFullMessageBytes(byte[] fullMessageBytes)
           
 void setId(String id)
           
 void setMessage(String message)
           
 void setMessage(String[] messageParts)
           
 void setProcessInstanceId(String processInstanceId)
           
 void setTaskId(String taskId)
           
 void setTime(Date time)
           
 void setType(String type)
           
 void setUserId(String userId)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TYPE_EVENT

public static final String TYPE_EVENT
另请参见:
常量字段值

TYPE_COMMENT

public static final String TYPE_COMMENT
另请参见:
常量字段值

id

protected String id

type

protected String type

userId

protected String userId

time

protected Date time

taskId

protected String taskId

processInstanceId

protected String processInstanceId

action

protected String action

message

protected String message

fullMessage

protected String fullMessage

MESSAGE_PARTS_MARKER

public static String MESSAGE_PARTS_MARKER
构造方法详细信息

CommentEntity

public CommentEntity()
方法详细信息

getPersistentState

public Object getPersistentState()
从接口 PersistentObject 复制的描述
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.

指定者:
接口 PersistentObject 中的 getPersistentState

getFullMessageBytes

public byte[] getFullMessageBytes()

setFullMessageBytes

public void setFullMessageBytes(byte[] fullMessageBytes)

setMessage

public void setMessage(String[] messageParts)

getMessageParts

public List<String> getMessageParts()
从接口 Event 复制的描述
The meaning of the message parts is defined by the action as you can find in Event.getAction()

指定者:
接口 Event 中的 getMessageParts

getId

public String getId()
从接口 Comment 复制的描述
unique identifier for this comment

指定者:
接口 PersistentObject 中的 getId
指定者:
接口 Comment 中的 getId
指定者:
接口 Event 中的 getId

setId

public void setId(String id)
指定者:
接口 PersistentObject 中的 setId

getUserId

public String getUserId()
从接口 Comment 复制的描述
reference to the user that made the comment

指定者:
接口 Comment 中的 getUserId
指定者:
接口 Event 中的 getUserId

setUserId

public void setUserId(String userId)

getTaskId

public String getTaskId()
从接口 Comment 复制的描述
reference to the task on which this comment was made

指定者:
接口 Comment 中的 getTaskId
指定者:
接口 Event 中的 getTaskId

setTaskId

public void setTaskId(String taskId)

getMessage

public String getMessage()
从接口 Event 复制的描述
The message that can be used in case this action only has a single message part.

指定者:
接口 Event 中的 getMessage

setMessage

public void setMessage(String message)

getTime

public Date getTime()
从接口 Comment 复制的描述
time and date when the user made the comment

指定者:
接口 Comment 中的 getTime
指定者:
接口 Event 中的 getTime

setTime

public void setTime(Date time)

getProcessInstanceId

public String getProcessInstanceId()
从接口 Comment 复制的描述
reference to the process instance on which this comment was made

指定者:
接口 Comment 中的 getProcessInstanceId
指定者:
接口 Event 中的 getProcessInstanceId

setProcessInstanceId

public void setProcessInstanceId(String processInstanceId)

getType

public String getType()
从接口 Comment 复制的描述
reference to the type given to the comment

指定者:
接口 Comment 中的 getType

setType

public void setType(String type)

getFullMessage

public String getFullMessage()
从接口 Comment 复制的描述
the full comment message the user had related to the task and/or process instance

指定者:
接口 Comment 中的 getFullMessage
另请参见:
TaskService.getTaskComments(String)

setFullMessage

public void setFullMessage(String fullMessage)

getAction

public String getAction()
从接口 Event 复制的描述
Indicates the type of of action and also indicates the meaning of the parts as exposed in Event.getMessageParts()

指定者:
接口 Event 中的 getAction

setAction

public void setAction(String action)


Copyright © 2013 Alfresco. All rights reserved.