|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.CommentEntity
public class CommentEntity
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.camunda.bpm.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 | |
|---|---|
CommentEntity()
|
|
| Method Summary | |
|---|---|
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()
comment id |
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()
|
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)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_EVENT
public static final String TYPE_COMMENT
protected String id
protected String type
protected String userId
protected Date time
protected String taskId
protected String processInstanceId
protected String action
protected String message
protected String fullMessage
public static String MESSAGE_PARTS_MARKER
| Constructor Detail |
|---|
public CommentEntity()
| Method Detail |
|---|
public Object getPersistentState()
DbEntity
getPersistentState in interface DbEntitypublic byte[] getFullMessageBytes()
public void setFullMessageBytes(byte[] fullMessageBytes)
public void setMessage(String[] messageParts)
public List<String> getMessageParts()
EventEvent.getAction()
getMessageParts in interface Eventpublic String getId()
Comment
getId in interface DbEntitygetId in interface Commentpublic void setId(String id)
setId in interface DbEntitypublic String getUserId()
Comment
getUserId in interface CommentgetUserId in interface Eventpublic void setUserId(String userId)
public String getTaskId()
Comment
getTaskId in interface CommentgetTaskId in interface Eventpublic void setTaskId(String taskId)
public String getMessage()
Event
getMessage in interface Eventpublic void setMessage(String message)
public Date getTime()
Comment
getTime in interface CommentgetTime in interface Eventpublic void setTime(Date time)
public String getProcessInstanceId()
Comment
getProcessInstanceId in interface CommentgetProcessInstanceId in interface Eventpublic void setProcessInstanceId(String processInstanceId)
public String getType()
public void setType(String type)
public String getFullMessage()
Comment
getFullMessage in interface CommentTaskService.getTaskComments(String)public void setFullMessage(String fullMessage)
public String getAction()
EventEvent.getMessageParts()
getAction in interface Eventpublic void setAction(String action)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||