Package org.activiti.engine.task
Interface Event
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
CommentEntity
- All Known Implementing Classes:
CommentEntityImpl
public interface Event extends java.io.SerializableExposes twitter-like feeds for tasks and process instances.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTION_ADD_ATTACHMENTAn attachment was added with the attachment name as message.static java.lang.StringACTION_ADD_COMMENTAn user comment was added with the short version of the comment as message.static java.lang.StringACTION_ADD_GROUP_LINKA group identity link was added with following message parts: [0] groupId [1] identity link type (aka role)static java.lang.StringACTION_ADD_USER_LINKA user identity link was added with following message parts: [0] userId [1] identity link type (aka role)static java.lang.StringACTION_DELETE_ATTACHMENTAn attachment was deleted with the attachment name as message.static java.lang.StringACTION_DELETE_GROUP_LINKA group identity link was added with following message parts: [0] groupId [1] identity link type (aka role)static java.lang.StringACTION_DELETE_USER_LINKA user identity link was added with following message parts: [0] userId [1] identity link type (aka role)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAction()Indicates the type of of action and also indicates the meaning of the parts as exposed ingetMessageParts()java.lang.StringgetId()Unique identifier for this eventjava.lang.StringgetMessage()The message that can be used in case this action only has a single message part.java.util.List<java.lang.String>getMessageParts()The meaning of the message parts is defined by the action as you can find ingetAction()java.lang.StringgetProcessInstanceId()reference to the process instance on which this comment was madejava.lang.StringgetTaskId()reference to the task on which this comment was madejava.util.DategetTime()time and date when the user made the commentjava.lang.StringgetUserId()reference to the user that made the comment
-
-
-
Field Detail
-
ACTION_ADD_USER_LINK
static final java.lang.String ACTION_ADD_USER_LINK
A user identity link was added with following message parts: [0] userId [1] identity link type (aka role)- See Also:
- Constant Field Values
-
ACTION_DELETE_USER_LINK
static final java.lang.String ACTION_DELETE_USER_LINK
A user identity link was added with following message parts: [0] userId [1] identity link type (aka role)- See Also:
- Constant Field Values
-
ACTION_ADD_GROUP_LINK
static final java.lang.String ACTION_ADD_GROUP_LINK
A group identity link was added with following message parts: [0] groupId [1] identity link type (aka role)- See Also:
- Constant Field Values
-
ACTION_DELETE_GROUP_LINK
static final java.lang.String ACTION_DELETE_GROUP_LINK
A group identity link was added with following message parts: [0] groupId [1] identity link type (aka role)- See Also:
- Constant Field Values
-
ACTION_ADD_COMMENT
static final java.lang.String ACTION_ADD_COMMENT
An user comment was added with the short version of the comment as message.- See Also:
- Constant Field Values
-
ACTION_ADD_ATTACHMENT
static final java.lang.String ACTION_ADD_ATTACHMENT
An attachment was added with the attachment name as message.- See Also:
- Constant Field Values
-
ACTION_DELETE_ATTACHMENT
static final java.lang.String ACTION_DELETE_ATTACHMENT
An attachment was deleted with the attachment name as message.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
java.lang.String getId()
Unique identifier for this event
-
getAction
java.lang.String getAction()
Indicates the type of of action and also indicates the meaning of the parts as exposed ingetMessageParts()
-
getMessageParts
java.util.List<java.lang.String> getMessageParts()
The meaning of the message parts is defined by the action as you can find ingetAction()
-
getMessage
java.lang.String getMessage()
The message that can be used in case this action only has a single message part.
-
getUserId
java.lang.String getUserId()
reference to the user that made the comment
-
getTime
java.util.Date getTime()
time and date when the user made the comment
-
getTaskId
java.lang.String getTaskId()
reference to the task on which this comment was made
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
reference to the process instance on which this comment was made
-
-