Class ProcessDeploymentAPIDelegate

java.lang.Object
org.bonitasoft.engine.api.impl.ProcessDeploymentAPIDelegate

public class ProcessDeploymentAPIDelegate extends Object
Author:
Emmanuel Duchastenier
  • Method Details

    • getServiceAccessor

      protected ServiceAccessor 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.ProcessDeployException
      org.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.ProcessDeployException
      org.bonitasoft.engine.bpm.process.ProcessEnablementException
      org.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.ProcessDefinitionNotFoundException
      org.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

      public Map<Long,org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo> getProcessDeploymentInfosFromIds(List<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
    • 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