Interface WorklistItem.Delegation
- All Superinterfaces:
Serializable
- Enclosing interface:
- WorklistItem
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. It is therefore
an object representation of a delegation history entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionGets the comment for this delegation, that is the comment that has been set by the delegator.Gets the agent who has initiated this delegation.Gets the recipients of the delegation, that is the agents to whom the worklist item is delegated.
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
getDelegator
QualifiedAgent getDelegator()Gets the agent who has initiated this delegation.- Returns:
- The agent who has initiated this delegation explicitly or due to absence.
-
getRecipients
Set<QualifiedAgent> getRecipients()Gets the recipients of the delegation, that is the agents to whom the worklist item is delegated. This set does not reflect the agent who actually accepts the delegation and performs the worklist item.- Returns:
- The agents who receive the worklist item due to this delegation.
-
getComment
String getComment()Gets the comment for this delegation, that is the comment that has been set by the delegator. This may benull.- Returns:
- The comment set by the delegating agent or
null.
-