org.jbpm.client
Class FindProcessDefinition

java.lang.Object
  extended by org.jbpm.client.FindProcessDefinition
All Implemented Interfaces:
java.io.Serializable, Command<ProcessDefinition>

public class FindProcessDefinition
extends java.lang.Object
implements Command<ProcessDefinition>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  long processDefinitionDbid
           
protected  java.lang.String processDefinitionName
           
protected  int processDefinitionVersion
           
 
Constructor Summary
FindProcessDefinition(long processDefinitionDbid)
           
FindProcessDefinition(java.lang.String processDefinitionName, int processDefinitionVersion)
           
 
Method Summary
 ProcessDefinition execute(Environment environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processDefinitionDbid

protected long processDefinitionDbid

processDefinitionName

protected java.lang.String processDefinitionName

processDefinitionVersion

protected int processDefinitionVersion
Constructor Detail

FindProcessDefinition

public FindProcessDefinition(java.lang.String processDefinitionName,
                             int processDefinitionVersion)

FindProcessDefinition

public FindProcessDefinition(long processDefinitionDbid)
Method Detail

execute

public ProcessDefinition execute(Environment environment)
                          throws java.lang.Exception
Specified by:
execute in interface Command<ProcessDefinition>
Throws:
java.lang.Exception