Package org.bonitasoft.engine.api.impl
Class ProcessDeploymentAPIDelegate
java.lang.Object
org.bonitasoft.engine.api.impl.ProcessDeploymentAPIDelegate
- Author:
- Emmanuel Duchastenier
-
Method Summary
Modifier and TypeMethodDescriptionorg.bonitasoft.engine.bpm.process.ProcessDefinitiondeploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive) org.bonitasoft.engine.bpm.process.ProcessDefinitiondeployAndEnableProcess(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive) voidenableProcess(long processDefinitionId) longgetProcessDefinitionId(String name, String version) org.bonitasoft.engine.bpm.process.ProcessDeploymentInfogetProcessDeploymentInfo(long processDefinitionId) getProcessDeploymentInfosFromIds(List<Long> processDefinitionIds) List<org.bonitasoft.engine.bpm.process.Problem>getProcessResolutionProblems(long processDefinitionId) protected ServiceAccessororg.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo>searchProcessDeploymentInfos(org.bonitasoft.engine.search.SearchOptions searchOptions)
-
Method Details
-
getServiceAccessor
-
deploy
public org.bonitasoft.engine.bpm.process.ProcessDefinition deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive) throws org.bonitasoft.engine.bpm.process.ProcessDeployException, org.bonitasoft.engine.exception.AlreadyExistsException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDeployExceptionorg.bonitasoft.engine.exception.AlreadyExistsException
-
deployAndEnableProcess
public org.bonitasoft.engine.bpm.process.ProcessDefinition deployAndEnableProcess(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive) throws org.bonitasoft.engine.bpm.process.ProcessDeployException, org.bonitasoft.engine.bpm.process.ProcessEnablementException, org.bonitasoft.engine.exception.AlreadyExistsException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDeployExceptionorg.bonitasoft.engine.bpm.process.ProcessEnablementExceptionorg.bonitasoft.engine.exception.AlreadyExistsException
-
enableProcess
public void enableProcess(long processDefinitionId) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException, org.bonitasoft.engine.bpm.process.ProcessEnablementException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundExceptionorg.bonitasoft.engine.bpm.process.ProcessEnablementException
-
getProcessDefinitionId
public long getProcessDefinitionId(String name, String version) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException
-
getProcessResolutionProblems
public List<org.bonitasoft.engine.bpm.process.Problem> getProcessResolutionProblems(long processDefinitionId) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException
-
getProcessDeploymentInfosFromIds
-
getProcessDeploymentInfo
public org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo getProcessDeploymentInfo(long processDefinitionId) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException - Throws:
org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException
-
searchProcessDeploymentInfos
public org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo> searchProcessDeploymentInfos(org.bonitasoft.engine.search.SearchOptions searchOptions) throws org.bonitasoft.engine.exception.SearchException - Throws:
org.bonitasoft.engine.exception.SearchException
-