public interface WorklistInteraction
WorklistNotification this interface
realises the communication between execution manager and worklist manager.WorklistNotification| Modifier and Type | Method and Description |
|---|---|
void |
addWorklistManager(SessionToken session,
WorklistNotification worklistManager)
Adds a worklist manager to this execution manager to listen for state
changes.
|
void |
removeWorklistManager(SessionToken session,
WorklistNotification worklistManager)
Removes a listening worklist manager from this execution manager.
|
void addWorklistManager(SessionToken session, WorklistNotification worklistManager)
Before any actual state changes are sent, the worklist manager will receive
all active activities asynchronously via the WorklistNotification
interface. This means the method will not block until the activities are
delivered. As soon as
removeWorklistManager(SessionToken, WorklistNotification) is
called with the same WorklistNotification-instance, the
delivering of active activities is cancelled and no further active
activities will be sent.
session - The session which is used to check for access rights on this
method.worklistManager - An object that wants to listen to state changes of
the managed instances.void removeWorklistManager(SessionToken session, WorklistNotification worklistManager)
session - The session which is used to check for access rights on this
method.worklistManager - An object that does not want to listen to state
changes of the managed instances.