Interface WorklistItem.Delegation

All Superinterfaces:
Serializable
Enclosing interface:
WorklistItem

public static interface WorklistItem.Delegation extends Serializable
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

    Fields
    Modifier and Type
    Field
    Description
    static final long
    Generated ID for serialisation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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 serialVersionUID
      Generated 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 be null.
      Returns:
      The comment set by the delegating agent or null.