|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The delegate interface needed for access to the work queue
Field Summary | |
static int |
QUEUE_STATUS_RUNNING
Deprecated. process lifecycle management has been concentrated in the workflow engine |
static int |
QUEUE_STATUS_SHUTDOWN
Deprecated. process lifecycle management has been concentrated in the workflow engine |
static int |
QUEUE_STATUS_SUSPENDED
Deprecated. process lifecycle management has been concentrated in the workflow engine |
Method Summary | |
void |
forward(EbiWorkitemDelegate delegate)
Forwards a workitem to the next activity. |
void |
forward(EbiWorkitemDelegate delegate,
EbiContext context)
Forwards a workitem to the next activity. |
void |
forward(String workitemId)
Forwards a workitem to the next activity. |
EbiWorkitemDelegate |
getNextWorkitem(EbiContext context)
Gets the next workitem. |
EbiWorkitemDelegate |
getNextWorkitem(String activity)
Deprecated. This method is applicable only for Director 4.x java activities migrated to 5.0. Use getNextWorkitem( Ebicontext ) as the alternative for all newly created java activities starting in 5.0 and later. |
int |
getQueueStatus()
Deprecated. process lifecycle management has been concentrated in the workflow engine, queue state is part of the engine state |
EbiWorkitemDelegate |
getWorkitem(String workitemId)
Gets a workitem by workitem id. |
EbiWorkitemDelegate |
getWorkitem(String workitemId,
EbiContext context)
Gets a workitem by workitem id. |
String[] |
getWorkitemIds(EbiContext context)
Return an array of workitem identifiers for workitems in the work queue. |
Document |
getWorklist(EbiContext context)
Deprecated. use String[] getWorkitemIds(EbiContext) instead. |
Document |
getWorklist(EbiContext context,
boolean excludeClaimedWorkitems,
boolean excludedUnclaimedWorkitems)
Deprecated. use String[] getWorkitemIds(EbiContext) instead. |
Document |
getWorklist(String activity)
Deprecated. use String[] getWorkitemIds(EbiContext) instead. |
Document |
getWorklist(String[] addressee,
String name,
Integer priority,
boolean ignoreSuspendedActivities)
Deprecated. use String[] getWorkitemIds(EbiContext) instead. |
void |
reassignWorkitem(String workitemId,
String newAddressee,
EbiContext context)
Reassign a workitem to a new user. |
void |
removeWorkitem(String workitemId,
boolean terminateActivity)
Removes a workitem from the queue. |
void |
setQueueStatus(int status)
Deprecated. process lifecycle management has been concentrated in the workflow engine, queue state is part of the engine state |
void |
shutdownQueue()
Deprecated. process lifecycle management has been concentrated in the workflow engine, queue state is part of the engine state |
void |
startQueue()
Deprecated. process lifecycle management has been concentrated in the workflow engine, queue state is part of the engine state |
void |
suspendQueue()
Deprecated. process lifecycle management has been concentrated in the workflow engine, queue state is part of the engine state |
Field Detail |
public static final int QUEUE_STATUS_RUNNING
public static final int QUEUE_STATUS_SUSPENDED
public static final int QUEUE_STATUS_SHUTDOWN
Method Detail |
public EbiWorkitemDelegate getWorkitem(String workitemId) throws com.sssw.wf.client.EboWorkitemException
workitemId
- The id of the workitem desired.public EbiWorkitemDelegate getWorkitem(String workitemId, EbiContext context) throws com.sssw.wf.client.EboWorkitemException, com.sssw.wf.client.EboQueueException
workitemId
- The id of the workitem desired.context
- The context for the current activity/user.public EbiWorkitemDelegate getNextWorkitem(EbiContext context)
context
- The context of the current user/activity.public EbiWorkitemDelegate getNextWorkitem(String activity)
activity
- The current activity class name. To get the class name
of the activity, call this.getClass().getName().public void forward(String workitemId) throws com.sssw.wf.client.EboWorkitemException
workitemId
- The id of the workitem to forward.public void forward(EbiWorkitemDelegate delegate) throws com.sssw.wf.client.EboQueueException
(EbiWorkitemDelegate delegate, EbiContext context)
delegate
- The workitem to forward.public void forward(EbiWorkitemDelegate delegate, EbiContext context) throws com.sssw.wf.client.EboQueueException
delegate
- The workitem to forward.context
- The requestor's context.public Document getWorklist(String activity) throws com.sssw.wf.client.EboWorkitemException
activity
- classname of the user implementation of EbiActivity.public Document getWorklist(EbiContext context) throws com.sssw.wf.client.EboWorkitemException
context
- The context for the current user/activity.public Document getWorklist(EbiContext context, boolean excludeClaimedWorkitems, boolean excludedUnclaimedWorkitems) throws com.sssw.wf.client.EboWorkitemException
context
- The context for the current user/activity.excludeClaimedWorkitems
- If true, will get only unclaimed workitems.excludeUnclaimedWorkitems
- If true, will get only claimed workitems.public Document getWorklist(String[] addressee, String name, Integer priority, boolean ignoreSuspendedActivities) throws com.sssw.wf.client.EboWorkitemException
addressee
- An array of addressees to lookup. Optional.name
- The name of the workitem. Optional.priority
- The priority of the workitem to lookup. Optional.ignoreSuspendedActivities
- Whether or not to include suspended activities in the result set.public String[] getWorkitemIds(EbiContext context) throws com.sssw.wf.client.EboQueueException
context
- caller contextpublic void setQueueStatus(int status) throws com.sssw.wf.client.EboQueueException
public void startQueue() throws com.sssw.wf.client.EboQueueException
public void suspendQueue() throws com.sssw.wf.client.EboQueueException
public void shutdownQueue() throws com.sssw.wf.client.EboQueueException
public int getQueueStatus() throws com.sssw.wf.client.EboQueueException
public void removeWorkitem(String workitemId, boolean terminateActivity) throws com.sssw.wf.client.EboQueueException
workitemId
- The workitem id to be removed.terminateActivity
- If the activity is 'automatic', the terminate method will be fired.public void reassignWorkitem(String workitemId, String newAddressee, EbiContext context) throws com.sssw.wf.client.EboQueueException
workitemId
- The workitem id to be removed.newAddressee
- The new addresse who the worktiem will be assigned to.EbiContext
- The context for the current queue.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |