org.jbpm.command
Class GetTaskListCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractGetObjectBaseCommand
          extended by org.jbpm.command.GetTaskListCommand
All Implemented Interfaces:
java.io.Serializable, Command

public class GetTaskListCommand
extends AbstractGetObjectBaseCommand
implements Command

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

Constructor Summary
GetTaskListCommand(java.lang.String[] actor)
           
GetTaskListCommand(java.lang.String actor, boolean includeVariables)
           
GetTaskListCommand(java.lang.String actor, java.lang.String[] variablesToInclude)
           
 
Method Summary
 GetTaskListCommand actor(java.lang.String actor)
           
 GetTaskListCommand actor(java.lang.String[] actor)
           
 java.lang.Object execute(JbpmContext jbpmContext)
           
 java.lang.String[] getActor()
           
 java.lang.String getAdditionalToStringInformation()
           
 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
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.