org.jbpm.command
Class GetTaskListCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetTaskListCommand
- All Implemented Interfaces:
- Serializable, Command
public class GetTaskListCommand
- extends AbstractGetObjectBaseCommand
return a List of TaskInstances 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 |
GetTaskListCommand
public GetTaskListCommand(String[] actor)
GetTaskListCommand
public GetTaskListCommand(String actor,
boolean includeVariables)
GetTaskListCommand
public GetTaskListCommand(String actor,
String[] variablesToInclude)
execute
public Object execute(JbpmContext jbpmContext)
throws Exception
- Throws:
Exception
retrieveTaskInstanceDetails
public List retrieveTaskInstanceDetails(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 String[] getActor()
setActor
public void setActor(String actor)
setActor
public void setActor(String[] actor)
getAdditionalToStringInformation
public String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand
actor
public GetTaskListCommand actor(String actor)
actor
public GetTaskListCommand actor(String[] actor)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.