public interface IndividualWorklistItemSettings extends UserAttributeContainer, PluginDataContainer, java.io.Serializable
getWorklistID()). Some of these
settings override corresponding properties from an internal worklist item,
like title, description or priority.
This interface is extended by ClientWorklistItem and may also be
implemented by the de.aristaflow.adept2.core.worklistmanager to
internally store these settings.
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIndividualDescription()
Gets the individual description of the item by the user.
|
long |
getIndividualDueDate()
Gets the individual due date of this client worklist item.
|
long |
getIndividualEscalationDate()
Returns the individual timestamp as absolute date when this item is
escalated.
|
java.lang.String |
getIndividualEscalationHandlingProcedureID()
Gets the ID of the escalation handling procedure set for the current
individual escalation date.
|
java.util.Map<java.lang.String,PluginData> |
getIndividualPluginDatas()
Returns a map from the ID of a plug-in to the plug-in data objects.
|
int |
getIndividualPriority()
Gets the individual priority of this client worklist item.
|
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getIndividualSupportedPlugins()
Returns a map from the ID of an extension point to the IDs of the plug-ins
within the extension point.
|
java.lang.String |
getIndividualTitle()
Gets the individual title of the item by the user.
|
java.util.Map<java.lang.String,java.lang.String> |
getIndividualUserAttributes()
Returns all user attributes as map, the key of the map is the
name of the attribute.
|
long |
getResubmissionDate()
Gets the date when the worklist item will be resubmitted, that is, it will
reappear in the worklist.
|
java.util.UUID |
getWorklistID()
Gets the worklist's ID in whose context these individual settings apply.
|
void |
setIndividualDescription(java.lang.String individualDescription)
Sets the individual description of the item by the user.
|
void |
setIndividualDueDate(long individualDueDate)
Sets the individual due date of this client worklist item and the
corresponding escalation handling procedure.
|
void |
setIndividualEscalation(long timestamp,
java.lang.String escalationHandlingProcedureID)
Sets the escalation which includes the timestamp as absolute date and the
escalation handling procedure.
|
void |
setIndividualPluginData(PluginData pluginData)
Sets the data of the designated plugin.
|
void |
setIndividualPriority(int individualPriority)
Sets the individual priority of this client worklist item.
|
void |
setIndividualTitle(java.lang.String title)
Sets the individual title of the item by the user.
|
void |
setResubmissionDate(long resubmissionDate)
Sets the date when the worklist item will be resubmitted, that is it is
shown in the normal worklist again.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsstatic final long serialVersionUID
java.util.UUID getWorklistID()
java.lang.String getIndividualTitle()
null
if no individual title set.void setIndividualTitle(java.lang.String title)
title - The individual title of this worklist item.java.lang.String getIndividualDescription()
void setIndividualDescription(java.lang.String individualDescription)
individualDescription - The individual description of this worklist item.int getIndividualPriority()
void setIndividualPriority(int individualPriority)
individualPriority - The individual priority value of the user.long getIndividualDueDate()
java.lang.String getIndividualEscalationHandlingProcedureID()
null if no individual escalation
date is set.null if no individual
escalation date is set.void setIndividualDueDate(long individualDueDate)
individualDueDate - The individual due date of the user. Use 0 to
deactivate the individual due date. A negative value will be
interpreted as relative date.long getResubmissionDate()
void setResubmissionDate(long resubmissionDate)
STARTED worklist items
but for all other worklist item states. However a started worklist item may
be deactivated (set resubmission to a negative value).resubmissionDate - The date when the worklist item will be displayed
again in the normal worklist. Use 0 to deactivate the resubmission
date. A negative value will be interpreted as relative date.long getIndividualEscalationDate()
void setIndividualEscalation(long timestamp,
java.lang.String escalationHandlingProcedureID)
timestamp - The due date (absolute) when this item is escalated.escalationHandlingProcedureID - The ID of the escalation handling
procedurejava.util.Map<java.lang.String,java.lang.String> getIndividualUserAttributes()
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getIndividualSupportedPlugins()
java.util.Map<java.lang.String,PluginData> getIndividualPluginDatas()
void setIndividualPluginData(PluginData pluginData)
pluginData - The plugin data (including the name of the plugin) to set
the data of.