|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.pvm.internal.svc.CommandProcessService
public class CommandProcessService
ProcessService
implementation that delegates execution of the methods
to a CommandService
.
Field Summary | |
---|---|
protected CommandService |
commandService
|
Constructor Summary | |
---|---|
CommandProcessService()
|
Method Summary | |
---|---|
ProcessDefinition |
deploy(Deployment deployment)
deploy a new process definition into the process repository. |
ProcessDefinition |
deploy(OpenProcessDefinition processDefinition)
|
ProcessDefinition |
findLatestProcessDefinition(java.lang.String processDefinitionName)
latest version of the processDefinition with the given name. |
ProcessDefinition |
findProcessDefinition(java.lang.String processDefinitionName,
int version)
specific version of a named processDefinition. |
java.util.List<java.lang.String> |
findProcessDefinitionNames()
all deployed process names. |
java.util.List<ProcessDefinition> |
findProcessDefinitions(java.lang.String processDefinitionName)
all versions of the given process. |
CommandService |
getCommandService()
|
void |
setCommandService(CommandService commandService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CommandService commandService
Constructor Detail |
---|
public CommandProcessService()
Method Detail |
---|
public ProcessDefinition deploy(OpenProcessDefinition processDefinition)
public ProcessDefinition deploy(Deployment deployment)
ProcessService
deploy
in interface ProcessService
public ProcessDefinition findLatestProcessDefinition(java.lang.String processDefinitionName)
ProcessService
findLatestProcessDefinition
in interface ProcessService
public ProcessDefinition findProcessDefinition(java.lang.String processDefinitionName, int version)
ProcessService
findProcessDefinition
in interface ProcessService
public java.util.List<java.lang.String> findProcessDefinitionNames()
ProcessService
findProcessDefinitionNames
in interface ProcessService
public java.util.List<ProcessDefinition> findProcessDefinitions(java.lang.String processDefinitionName)
ProcessService
findProcessDefinitions
in interface ProcessService
public CommandService getCommandService()
public void setCommandService(CommandService commandService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |