|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides the functionality required by a worklist client application. A worklist bean has an associated workflow participant.
WorklistHome
Method Summary | |
java.lang.String |
getActiveOrganization()
Return the active organization. |
java.util.List |
getStartableWorkflows(java.lang.String orgId)
List the workflows that may be started manually. |
int[] |
getTaskCounts()
Return the number of assigned and overdue tasks on a user's worklist. |
java.util.List |
getTasks()
List the tasks assigned to the user who created this remote worklist object. |
java.util.List |
getTasks(java.lang.String orgId,
java.lang.String assigneeId,
boolean isRole)
List the tasks assigned to a participant. |
java.lang.String |
instantiateWorkflow(java.lang.String orgId,
java.lang.String templateId)
Create a new workflow instance. |
void |
ping()
A "dummy" method for the client to ping. |
java.lang.String |
response(java.lang.String templateDefinitionId,
java.lang.String instanceId,
java.lang.String nodeId,
java.lang.String xml)
Send the client's response to a previously received client request. |
void |
setActiveOrganization(java.lang.String orgId)
Set the active organization. |
java.lang.String |
taskAssign(java.lang.String templateId,
java.lang.String instanceId,
java.lang.String taskId,
java.lang.String assigneeId,
boolean isRole,
boolean userInRole)
Assign a task to a participant. |
java.lang.String |
taskExecute(java.lang.String templateId,
java.lang.String instanceId,
java.lang.String taskId)
Execute a task instance. |
java.lang.String |
taskMarkDone(java.lang.String templateId,
java.lang.String instanceId,
java.lang.String taskId)
Mark a task instance as complete. |
java.lang.String |
taskSetProperties(java.lang.String templateId,
java.lang.String instanceId,
java.lang.String taskId,
int priority,
boolean doneWithoutDoit,
boolean doitIfDone,
boolean unmarkDone,
boolean modifible,
boolean reassignment)
Set the properties for a task instance. |
java.lang.String |
taskUnmarkDone(java.lang.String templateId,
java.lang.String instanceId,
java.lang.String taskId)
Mark a task as incomplete. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public void setActiveOrganization(java.lang.String orgId) throws java.rmi.RemoteException, WorkflowException
orgId
- The ID of the organization to set as active.public java.lang.String getActiveOrganization() throws java.rmi.RemoteException, WorkflowException
public void ping() throws java.rmi.RemoteException
public int[] getTaskCounts() throws java.rmi.RemoteException, WorkflowException
element[0] |
the total number of tasks assigned to the user. |
element[1] |
the number of those tasks which are overdue. |
public java.util.List getTasks() throws java.rmi.RemoteException, WorkflowException
TaskInfo
objects.public java.util.List getTasks(java.lang.String orgId, java.lang.String assigneeId, boolean isRole) throws java.rmi.RemoteException, WorkflowException
orgId
- The ID of the organization for which to list tasks.assigneeId
- The ID of the participant for whom to list tasks.isRole
- true
if assigneeId
is that of a
role.TaskInfo
objects.public java.util.List getStartableWorkflows(java.lang.String orgId) throws java.rmi.RemoteException, WorkflowException
orgId
- The ID of the organization for which to list workflows.TemplateInfo
objects.public java.lang.String instantiateWorkflow(java.lang.String orgId, java.lang.String templateId) throws java.rmi.RemoteException, WorkflowException
orgId
- The ID of the organization in which to instantiate the
workflow.templateId
- The ID of the workflow template to instantiate.public java.lang.String taskExecute(java.lang.String templateId, java.lang.String instanceId, java.lang.String taskId) throws java.rmi.RemoteException, WorkflowException
templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.taskId
- The ID of the task instance.public java.lang.String taskMarkDone(java.lang.String templateId, java.lang.String instanceId, java.lang.String taskId) throws java.rmi.RemoteException, WorkflowException
templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.taskId
- The ID of the task instance.taskExecute(java.lang.String, java.lang.String, java.lang.String)
.public java.lang.String taskUnmarkDone(java.lang.String templateId, java.lang.String instanceId, java.lang.String taskId) throws java.rmi.RemoteException, WorkflowException
templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.taskId
- The ID of the task instance.taskExecute(java.lang.String, java.lang.String, java.lang.String)
.public java.lang.String taskAssign(java.lang.String templateId, java.lang.String instanceId, java.lang.String taskId, java.lang.String assigneeId, boolean isRole, boolean userInRole) throws java.rmi.RemoteException, WorkflowException
bLoadBalance
argument.templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.taskId
- The ID of the task instance.assigneeId
- The ID of the participant to whom the task is to be
assigned.bRole
- true
if the assignee ID is that of a role,
false
if that of a user.bLoadBalance
- true
to request the system to perform
load-balancing within the specified role. This argument is ignored if
the bRole
argument is false
.taskExecute(java.lang.String, java.lang.String, java.lang.String)
.public java.lang.String taskSetProperties(java.lang.String templateId, java.lang.String instanceId, java.lang.String taskId, int priority, boolean doneWithoutDoit, boolean doitIfDone, boolean unmarkDone, boolean modifible, boolean reassignment) throws java.rmi.RemoteException, WorkflowException
templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.taskId
- The ID of the task instance.priority
- The default task instance priority (0=low, 1=medium or
2=high).doneWithoutDoit
- true
to permit a user to mark a task
instance as complete (by calling the taskMarkDone(java.lang.String, java.lang.String, java.lang.String)
method).doitIfDone
- true
to permit a user to execute
a task instance after it has been marked as complete (by calling the
taskExecute(java.lang.String, java.lang.String, java.lang.String)
method).unmarkDone
- true
to permit a user to mark a task
instance as incomplete (by calling the
taskUnmarkDone(java.lang.String, java.lang.String, java.lang.String)
method).modifible
- true
to permit a user to modify a task
instance's runtime properties (by calling this method).reassignment
- true
to permit a user to reassign a
task instance to another participant (by calling the taskAssign(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
method).taskExecute(java.lang.String, java.lang.String, java.lang.String)
.public java.lang.String response(java.lang.String templateDefinitionId, java.lang.String instanceId, java.lang.String nodeId, java.lang.String xml) throws java.rmi.RemoteException, WorkflowException
ActionSendXMLToClient
action, using one of the standard
DTDs or a client-defined custom DTD. The response DTD matches the
request DTD and the XML document contains the results of executing the
server's request. The originating action typically uses the
XPath
function to extract the required values from the
document. Clients are free to define custom request and response DTDs.templateDefinitionId
- The ID of the workflow template definition.instanceId
- The ID of the workflow instance.nodeId
- The ID of the object that raised the client request to
which this call is responding.xml
- The client's request-specific response (in XML format) compliant
with the document type definition
called program response,
called Java class response,
message box response,
set variables response or
a custom format defined by the client.taskExecute(java.lang.String, java.lang.String, java.lang.String)
.
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |