org.jbpm.command
Class GetTaskListCommand
java.lang.Object
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetTaskListCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class GetTaskListCommand
- extends AbstractGetObjectBaseCommand
- implements Command
return a List
of TaskInstance
s
for the given actor(s).
if no actor is used, the current authenticated user is taken as actor.
for all actors it is checked, if they are pooled or assigned actor!
- Author:
- Bernd Ruecker (bernd.ruecker@camunda.com)
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
execute(JbpmContext jbpmContext)
|
java.lang.String[] |
getActor()
|
java.util.List |
retrieveTaskInstanceDetails(java.util.List taskInstanceList)
access everything on all TaskInstance objects, which is not in the
default fetch group from hibernate, but needs to be accesible from
the client
overwrite this, if you need more details in your client |
void |
setActor(java.lang.String actor)
|
void |
setActor(java.lang.String[] actor)
|
Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand |
getVariablesToInclude, isIncludeAllVariables, isIncludeLogs, retrieveLogs, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setIncludeLogs, setVariablesToInclude, setVariablesToInclude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetTaskListCommand
public GetTaskListCommand(java.lang.String[] actor)
GetTaskListCommand
public GetTaskListCommand(java.lang.String actor,
boolean includeVariables)
GetTaskListCommand
public GetTaskListCommand(java.lang.String actor,
java.lang.String[] variablesToInclude)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Specified by:
execute
in interface Command
- Throws:
java.lang.Exception
retrieveTaskInstanceDetails
public java.util.List retrieveTaskInstanceDetails(java.util.List taskInstanceList)
- access everything on all TaskInstance objects, which is not in the
default fetch group from hibernate, but needs to be accesible from
the client
overwrite this, if you need more details in your client
getActor
public java.lang.String[] getActor()
setActor
public void setActor(java.lang.String actor)
setActor
public void setActor(java.lang.String[] actor)