org.jbpm.command
Class GetTaskListCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
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
Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand |
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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)
getAdditionalToStringInformation
public java.lang.String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation
in class AbstractBaseCommand
actor
public GetTaskListCommand actor(java.lang.String actor)
actor
public GetTaskListCommand actor(java.lang.String[] actor)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.