org.ow2.bonita.pvm
Interface ProcessService

All Known Implementing Classes:
CommandProcessService

public interface ProcessService

a process definition repository.

Author:
Tom Baeyens

Method Summary
 ProcessDefinition deploy(Deployment deployment)
          deploy a new process definition into the process repository.
 ProcessDefinition findLatestProcessDefinition(java.lang.String processDefinitionName)
          latest version of the processDefinition with the given name.
 ProcessDefinition findProcessDefinition(java.lang.String processDefinitionName, int processDefinitionVersion)
          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.
 

Method Detail

deploy

ProcessDefinition deploy(Deployment deployment)
deploy a new process definition into the process repository.


findProcessDefinitionNames

java.util.List<java.lang.String> findProcessDefinitionNames()
all deployed process names.


findProcessDefinitions

java.util.List<ProcessDefinition> findProcessDefinitions(java.lang.String processDefinitionName)
all versions of the given process.


findLatestProcessDefinition

ProcessDefinition findLatestProcessDefinition(java.lang.String processDefinitionName)
latest version of the processDefinition with the given name.


findProcessDefinition

ProcessDefinition findProcessDefinition(java.lang.String processDefinitionName,
                                        int processDefinitionVersion)
specific version of a named processDefinition.



Copyright © 2009 OW2 Consortium. All Rights Reserved.