Package org.bonitasoft.engine.api.impl
Class ProcessDeploymentAPIDelegate
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.ProcessDeploymentAPIDelegate
-
public class ProcessDeploymentAPIDelegate extends java.lang.Object- Author:
- Emmanuel Duchastenier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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)static ProcessDeploymentAPIDelegategetInstance()longgetProcessDefinitionId(java.lang.String name, java.lang.String version)org.bonitasoft.engine.bpm.process.ProcessDeploymentInfogetProcessDeploymentInfo(long processDefinitionId)java.util.Map<java.lang.Long,org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo>getProcessDeploymentInfosFromIds(java.util.List<java.lang.Long> processDefinitionIds)java.util.List<org.bonitasoft.engine.bpm.process.Problem>getProcessResolutionProblems(long processDefinitionId)protected TenantServiceAccessorgetTenantServiceAccessor()
-
-
-
Method Detail
-
getInstance
public static ProcessDeploymentAPIDelegate getInstance()
-
getTenantServiceAccessor
protected TenantServiceAccessor getTenantServiceAccessor()
-
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(java.lang.String name, java.lang.String version) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException- Throws:
org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException
-
getProcessResolutionProblems
public java.util.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
public java.util.Map<java.lang.Long,org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo> getProcessDeploymentInfosFromIds(java.util.List<java.lang.Long> processDefinitionIds)
-
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
-
-