Package org.jbpm.command

commands that can be used as an alternative to the try-finally blocks in the user code.

See:
          Description

Interface Summary
Command  
CommandService Provides jBPM engine services.
 

Class Summary
AbstractBaseCommand Base class for all internal commands.
AbstractCancelCommand  
AbstractGetObjectBaseCommand abstract base class for "get" commands which also implements default pre-fetching.
AbstractProcessInstanceBaseCommand Abstract base class for all commands working on ProcessInstances.
AbstractTokenBaseCommand Abstract base class for commands working on Tokens.
AsynchronousCommand Deprecated. asynchronous commands were never implemented
BatchSignalCommand a bunch of processes is signaled with this command. you can specify the tokens either by a array of token ids or by processName, processVersion (optional, without all versions), stateName transitionName specifies the transition to take (if null, the default transition is taken).
CancelProcessInstanceCommand Cancel the given ProcessInstance with all Tokens.
CancelTokenCommand Cancel a Token
CancelWorkOnTaskCommand The current authorizes actor starts to work on the TaskInstance so the actor is set to the given actor see some more information why we need that in the ChangeProcessInstanceVersionCommand THIS COMMAND IS NOT YET STABLE, BUT FEEL FREE TO TEST :-)
Status update: Still not complete, but refactored and added simple test cases.
CompositeCommand  
DeleteProcessDefinitionCommand Delete a proces definition by ID
DeployProcessCommand Deploys a process, given as XML-String or process archive.
ExecuteJobsCommand Execute all overdue Jobs (may be enhanced with more attributes in future if needed)
GetProcessDefinitionCommand This Command return the process definition
GetProcessDefinitionsCommand This Command returns all process definitions (or only the latest if onlyLatest is true)
GetProcessInstanceCommand This command can retrieve the matching process instances (e.g. for admin client) with the given process-id, token id or task-id
GetProcessInstanceLogCommand Retrieve the org.jbpm.logging.log.ProcessLog for the process with the given process-id returns a map that maps Tokens to Lists.
GetProcessInstancesCommand This command can retrieve all process instances (e.g. for admin client).
GetTaskInstanceCommand This command can retrieve a task instance (for client) with the given task-id or the token-id (then, the first task for the token is searched)
GetTaskListCommand 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!
NewProcessInstanceCommand Graph command to start a new process and create a task instance if the start node has a start task definition.
ResumeProcessInstanceCommand Resume the specified ProcessInstance(s).
ResumeTokenCommand Resume the specified Token(s).
SignalCommand Signals a token.
StartProcessInstanceCommand Graph command to start a new process and signal it immidiatly.
StartWorkOnTaskCommand The current authorizes actor starts to work on the TaskInstance so the actor is set to the given actor
SuspendProcessInstanceCommand Suspend the specified ProcessInstance(s).
SuspendTokenCommand Suspend the specified Token(s).
TaskInstanceEndCommand end the task with the given id if variables are given as a map, they are added/changed bevore ending the task
UnlockTokenCommand Unlocks the given token.
VariablesCommand  
 

Package org.jbpm.command Description

commands that can be used as an alternative to the try-finally blocks in the user code.



Copyright © 2010 JBoss Community. All Rights Reserved.