Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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
`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
`getJbpmContext, getVariablesToInclude, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD