|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkItem
Accesses the properties of a work item.
A work item represents a relationship between a person or group of persons and an object, typically an activity or task instance. The relationship is described by attributes such as the type of the associated object and the reason why the object is assigned.
For example, work items are created whenever a human task (staff), receive, or pick activity is encountered during the navigation of a process instance. The associated people assignment is performed and returns a list or group of persons. Each person on the list or the group receives a work item for the activity instance. Similarly, work items are created for the starter, process administrators, editors, and readers of a process instance.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static int |
OBJECT_TYPE_ACTIVITY
States that the work item has been created for an activity instance. |
static int |
OBJECT_TYPE_APPLICATION_COMPONENT
Do not use - internal only. |
static int |
OBJECT_TYPE_ESCALATION_INSTANCE
States that the work item has been created for an escalation instance. |
static int |
OBJECT_TYPE_ESCALATION_TEMPLATE
Do not use - internal only. |
static int |
OBJECT_TYPE_EVENT
States that the work item has been created for a receive event. |
static int |
OBJECT_TYPE_MAX
Do not use - internal only. |
static int |
OBJECT_TYPE_PROCESS_INSTANCE
States that the work item has been created for a process instance. |
static int |
OBJECT_TYPE_PROCESS_TEMPLATE
Do not use - internal only. |
static int |
OBJECT_TYPE_STATE_MACHINE_EVENT
Do not use - internal only. |
static int |
OBJECT_TYPE_STATE_MACHINE_INSTANCE
Do not use - internal only. |
static int |
OBJECT_TYPE_STATE_MACHINE_TEMPLATE
Do not use - internal only. |
static int |
OBJECT_TYPE_TASK_INSTANCE
States that the work item has been created for a task instance. |
static int |
OBJECT_TYPE_TASK_TEMPLATE
Do not use - internal only. |
static int |
REASON_ADMINISTRATOR
States that operations can be executed on the associated object that require administrator rights, for example, deletion of an object. |
static int |
REASON_EDITOR
States that operations can be executed on the associated object that require editor authority, for example, setting the output message of an object. |
static int |
REASON_ESCALATION_RECEIVER
States that operations can be executed on the associated object that require escalation receiver rights, for example, reading properties of an object that is escalated. |
static int |
REASON_MAX
Do not use - internal only. |
static int |
REASON_NONE
For the Post Processor Plugin. |
static int |
REASON_ORIGINATOR
States that operations can be executed on the associated object that require originator rights. |
static int |
REASON_OWNER
States that the associated object can be completed. |
static int |
REASON_POTENTIAL_INSTANCE_CREATOR
States that operations can be executed on the associated object that require instance creator rights, for example, creating objects. |
static int |
REASON_POTENTIAL_OWNER
States that the associated object can be claimed. |
static int |
REASON_POTENTIAL_SENDER
Deprecated. Not used. |
static int |
REASON_POTENTIAL_STARTER
States that operations can be executed on the associated object that require potential starter rights, for example, creating objects. |
static int |
REASON_READER
States that operations can be executed on the associated object that require reader authority, for example, reading the properties of an object. |
static int |
REASON_STARTER
States that operations can be executed on the associated object that require starter authority. |
static int |
REASON_STATE_MACHINE_END
Do not use - internal only. |
static int |
REASON_STATE_MACHINE_EVENT_AVAILABLE
Do not use - internal only. |
static int |
REASON_STATE_MACHINE_START
Do not use - internal only. |
Method Summary | |
---|---|
int |
getAssignmentReason()
Returns the reason why the work item is assigned. |
int |
getAssociatedObjectType()
Returns the type of the object associated to or containing the work item's associated object. |
OID |
getAssociatedOid()
Returns the object ID of the object associated to or containing the work item's associated object. |
java.util.Calendar |
getCreationTime()
Returns the creation time of the work item. |
java.lang.String |
getGroupName()
Returns the name of the group of persons associated with the work item. |
com.ibm.bpe.api.WIID |
getID()
Returns the object identifier. |
boolean |
getIsAssignedToEverybody()
Returns whether the workitem is assigned to everybody. |
OID |
getObjectID()
Returns the object ID of the associated object. |
int |
getObjectType()
Returns the type of the associated object. |
java.lang.String |
getOwnerID()
Returns the user ID of the workitem owner if the work item is not assigned to everybody or to a group of persons. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final int OBJECT_TYPE_STATE_MACHINE_INSTANCE
static final int OBJECT_TYPE_STATE_MACHINE_TEMPLATE
static final int OBJECT_TYPE_APPLICATION_COMPONENT
static final int OBJECT_TYPE_PROCESS_INSTANCE
static final int OBJECT_TYPE_TASK_INSTANCE
static final int OBJECT_TYPE_PROCESS_TEMPLATE
static final int OBJECT_TYPE_TASK_TEMPLATE
static final int OBJECT_TYPE_STATE_MACHINE_EVENT
static final int OBJECT_TYPE_ACTIVITY
static final int OBJECT_TYPE_EVENT
static final int OBJECT_TYPE_ESCALATION_INSTANCE
static final int OBJECT_TYPE_MAX
static final int OBJECT_TYPE_ESCALATION_TEMPLATE
static final int REASON_STATE_MACHINE_START
static final int REASON_STATE_MACHINE_EVENT_AVAILABLE
static final int REASON_EDITOR
static final int REASON_MAX
static final int REASON_POTENTIAL_SENDER
static final int REASON_ADMINISTRATOR
static final int REASON_POTENTIAL_STARTER
static final int REASON_STARTER
static final int REASON_POTENTIAL_OWNER
static final int REASON_ORIGINATOR
static final int REASON_OWNER
static final int REASON_STATE_MACHINE_END
static final int REASON_READER
static final int REASON_ESCALATION_RECEIVER
static final int REASON_POTENTIAL_INSTANCE_CREATOR
static final int REASON_NONE
Method Detail |
---|
com.ibm.bpe.api.WIID getID()
java.lang.String getOwnerID()
boolean getIsAssignedToEverybody()
int getObjectType()
OID getObjectID()
int getAssociatedObjectType()
OID getAssociatedOid()
int getAssignmentReason()
java.util.Calendar getCreationTime()
java.lang.String getGroupName()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |