public interface WorklistItem extends UserAttributeContainer, PluginDataContainer, java.io.Serializable
ClientWorklistItem for clients or
InternalWorklistItem for the server-side. Additionally there are
AdministrativeWorklistItems which allow a supervisor to control
a worklist item. This is done by manipulating InternalWorklistItems,
therefore AdministrativeWorklistItems represent server-side
worklist items but on a special client.
This interface supports several pieces of time information:
A client worklist item has the same ID as the corresponding internal
worklist item. However, a client worklist item only belongs to a single
worklist (see IndividualWorklistItemSettings.getWorklistID()) whereas an
internal worklist item can be in multiple worklists. An administrative
worklist item is a direct representation of an internal worklist item,
therefore the same terms apply.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WorklistItem.Delegation
This interface encapsulates all data relevant for a delegation, that is,
the initiator of a delegation, whether the delegation has been due to
absence and an optional comment for the delegation.
|
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Two internal worklist items are equal if their
IDs are equal. |
long |
getActivationDate()
Returns the timestamp when this item has been activated and therefore has
become available to worklists.
|
ActivityReference |
getActivityReference()
Returns a reference to the activity which should be executed.
|
QualifiedAgent |
getAssignedAgent()
In case this item has already been assigned to a user, the method returns
the corresponding agent.
|
long |
getAssignmentDate()
Returns the timestamp when this item has been assigned to the current user
and therefore the current worklist.
|
long |
getComplexity()
Returns the (estimated) complexity of the item as a simple integer.
|
WorklistItem.Delegation |
getCurrentDelegation()
Gets the information concerning the last delegation, that is the delegating
agent, whether the delegation is due to absence and the optional comment.
|
int |
getCurrentDelegationLevel()
In case the item has already been delegated, the method returns a
value > 0, indicating the the level of delegation (which is
incremented on each delegation by 1).
|
Enquiry |
getCurrentEnquiry()
Gets the information concerning the current enquiry, that is the enquiry
which the agent performing this worklist item should answer.
|
int |
getCurrentEscalationLevel()
In case the item has already been escalated, the method returns a
value > 0, indicating the the level of escalation (which is
incremented on each escalation by 1).
|
java.lang.String |
getDescription()
A description of the worklist item for displaying purpose - corresponds to
the description of the corresponding executable business process.
|
long |
getDueDate()
Returns the timestamp as absolute date when this item has to be finished.
|
long |
getEscalationDate()
Returns the timestamp as absolute date when this item is escalated.
|
java.util.UUID |
getGroupId()
Gets the ID of the group this worklist item belongs to.
|
java.util.UUID |
getIconID()
Gets the ID of the icon to display in the worklist representing the
underlying activity.
|
java.util.UUID |
getID()
The system-wide unique unique ID of this worklist item.
|
int |
getPriority()
Returns the priority of the item as a simple integer.
|
java.lang.String |
getProcessInstanceName()
Gets the name of the process instance corresponding to this worklist item.
|
java.lang.String |
getProcessTemplateName()
Gets the name of the process template corresponding to this worklist item.
|
java.lang.String |
getProcessTemplateVersion()
Gets the logical version of the process template corresponding to this
worklist item.
|
java.lang.String |
getProcessType()
Gets the process type corresponding to this worklist item.
|
Enquiry |
getRepliedEnquiry()
Gets the reply enquiry sent to the agent performing this worklist item if
an enquiry has been made for it.
|
WorklistConstants.WorklistItemState |
getState()
Returns the state of the worklist item (e.g. if it is started or available).
|
java.lang.String |
getTitle()
The title of this item for displaying purpose - corresponds to the name of
the corresponding executable business process.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsstatic final long serialVersionUID
java.util.UUID getID()
java.lang.String getTitle()
java.lang.String getDescription()
java.lang.String getProcessType()
java.lang.String getProcessTemplateVersion()
java.lang.String getProcessTemplateName()
java.lang.String getProcessInstanceName()
ActivityReference getActivityReference()
java.util.UUID getIconID()
java.util.UUID getGroupId()
null will be returned.null if this item does
not belong to a group.WorklistConstants.WorklistItemState getState()
int getPriority()
WorklistConstants.Prioritylong getComplexity()
long getActivationDate()
long getAssignmentDate()
long getEscalationDate()
long getDueDate()
escalation time. QualifiedAgent getAssignedAgent()
int getCurrentEscalationLevel()
WorklistItem.Delegation getCurrentDelegation()
Enquiry getCurrentEnquiry()
Enquiry getRepliedEnquiry()
int getCurrentDelegationLevel()
boolean equals(java.lang.Object obj)
IDs are equal. Two client worklist
items are equal if additionally the
IDs of their associated worklist
are equal.
Object.hashCode() must be implemented accordingly.
equals in class java.lang.Objectobj - the reference object with which to compare.