| Package | Description |
|---|---|
| de.aristaflow.adept2.core.eventmanager.common | |
| de.aristaflow.adept2.core.worklistmanager | |
| de.aristaflow.adept2.model.worklistmodel |
| Modifier and Type | Method and Description |
|---|---|
protected Triple<java.lang.Throwable,java.lang.Integer,java.lang.Long> |
WorklistHandler.addEventSource(WorklistItem item)
Adds an event source for the designated worklist item, that is the session
context of the activity is retrieved by starting or resuming the item, an
event source is created by the appropriate event manager and the event
handler is initialised and added.
|
protected void |
WorklistHandler.removeEventSource(WorklistItem item)
Removes the event source for the designated worklist item from the running
items.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EscalationHandling.deadlineReached(WorklistItem item,
java.lang.String staffAssignmentRule,
long deadline,
EscalationHandling.EscalationMeasures measures,
SessionToken measuresSession,
PolicyResolution orgModel)
Notifies that the
escalation deadline or the
IndividualWorklistItemSettings.getIndividualEscalationDate()
has been reached for the designated (client) worklist item. |
void |
DelegationManager.delegateBack(SessionToken session,
WorklistItem item,
java.lang.String reply)
Delegates the worklist item to the prior delegating agent and sets the designated reply as
delegation comment.
|
void |
DelegationManager.delegateWorkItem(SessionToken session,
WorklistItem item,
java.util.Set<QualifiedAgent> recipients,
java.lang.String comment)
Delegates the designated worklist item to the designated recipients, that is, the worklist item
is assigned to all worklists of the designated recipients and removed from the current
worklists.
|
java.util.Set<QualifiedAgent> |
DistributionHandling.distribute(SessionToken session,
WorklistItem item,
java.util.Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Distributes the designated worklist item among the designated agents
(stored as keys in the map) and returns a collection of chosen agents for
assignment of the worklist item.
|
java.util.Set<QualifiedAgent> |
DelegationManager.getDelegationRecipients(SessionToken session,
WorklistItem item)
Gets all possible delegation recipients for the designated worklist item and for the designated
delegating agent identified by the session token.
|
java.util.Set<QualifiedAgent> |
DelegationHandling.getDelegationRecipients(WorklistItem item,
QualifiedAgent delegatingAgent,
QualifiedAgent templateSupervisor,
QualifiedAgent instanceSupervisor,
QualifiedAgent instanceInitiator,
PolicyResolution orgModel)
Gets a list of agents that the designated worklist item may be delegated
to.
|
RemoteIterator<java.util.List<QualifiedAgent>> |
DelegationManager.getDelegationRecipientsIterator(SessionToken session,
WorklistItem item)
The same as
DelegationManager.getDelegationRecipients(SessionToken, WorklistItem) but with partial
retrieval of the agents. |
java.util.Set<QualifiedAgent> |
DistributionHandling.redistribute(SessionToken session,
WorklistItem rejectedItem,
Worklist<WorklistItem> worklist,
java.util.Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
(Re-)Distributes the designated worklist item among the designated agents
(stored as keys in the map) ignoring the owner of the designated worklist
and returns a collection of chosen agents for assignment of the worklist
item.
|
void |
WorklistUpdateManager.rejectWorklistItem(SessionToken session,
java.util.UUID worklistID,
WorklistItem item)
Rejects the designated worklist item by the client identified by its worklist ID.
|
void |
EscalationHandling.EscalationMeasures.setDueDate(SessionToken session,
WorklistItem worklistItem,
long dueDate)
Changes the due date of the specified worklist item for displaying to the
user.
|
void |
EscalationHandling.EscalationMeasures.setEscalation(SessionToken session,
WorklistItem worklistItem,
long escalationDate,
java.lang.String escalationHandlingProcedureID)
Changes the escalation date of the specified worklist item.
|
void |
EscalationHandling.EscalationMeasures.setPriority(SessionToken session,
WorklistItem worklistItem,
int priority)
Changes the priority of the specified worklist item.
|
void |
EscalationHandling.EscalationMeasures.updatePluginData(SessionToken session,
WorklistItem worklistItem,
PluginData pluginData)
Changes the plugin data of the designated worklist item.
|
void |
EscalationHandling.EscalationMeasures.updateUserAttributes(SessionToken session,
WorklistItem worklistItem)
Changes the user attributes of the designated worklist item.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<QualifiedAgent> |
DistributionHandling.distribute(SessionToken session,
WorklistItem item,
java.util.Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
Distributes the designated worklist item among the designated agents
(stored as keys in the map) and returns a collection of chosen agents for
assignment of the worklist item.
|
java.util.Set<QualifiedAgent> |
DistributionHandling.redistribute(SessionToken session,
WorklistItem rejectedItem,
Worklist<WorklistItem> worklist,
java.util.Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
(Re-)Distributes the designated worklist item among the designated agents
(stored as keys in the map) ignoring the owner of the designated worklist
and returns a collection of chosen agents for assignment of the worklist
item.
|
java.util.Set<QualifiedAgent> |
DistributionHandling.redistribute(SessionToken session,
WorklistItem rejectedItem,
Worklist<WorklistItem> worklist,
java.util.Map<QualifiedAgent,Worklist<? extends WorklistItem>> worklists)
(Re-)Distributes the designated worklist item among the designated agents
(stored as keys in the map) ignoring the owner of the designated worklist
and returns a collection of chosen agents for assignment of the worklist
item.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IncrementalWorklist<T extends WorklistItem>
This interface extends the normal worklist by the means for incrementally retrieving worklist
items.
|
interface |
Worklist<T extends WorklistItem>
The common interface for server-side and client-side worklist.
|
class |
WorklistItemUpdate<T extends WorklistItem>
This class encapsulates a worklist item update, that is, a worklist item and
how this needs to be adapted (added, changed or removed from the
corresponding worklist) based on a worklist update.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AdministrativeWorklistItem
This class resembles an
InternalWorklistItem but it allows a
supervisor to control worklist items (InternalWorklistItem)
directly. |
interface |
ClientWorklistItem
A worklist item with additional attributes, which are typically required by the worklist client.
|
interface |
InternalWorklistItem
This class represents worklist items internal to the worklist manager server
and allows to set various attributes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
WorklistItemIdComparator.compare(WorklistItem item1,
WorklistItem item2) |