Class ProcessDeploymentAPIDelegate


  • public class ProcessDeploymentAPIDelegate
    extends java.lang.Object
    Author:
    Emmanuel Duchastenier
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bonitasoft.engine.bpm.process.ProcessDefinition deploy​(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive)  
      org.bonitasoft.engine.bpm.process.ProcessDefinition deployAndEnableProcess​(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive)  
      void enableProcess​(long processDefinitionId)  
      long getProcessDefinitionId​(java.lang.String name, java.lang.String version)  
      org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo getProcessDeploymentInfo​(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 ServiceAccessor getServiceAccessor()  
      org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo> searchProcessDeploymentInfos​(org.bonitasoft.engine.search.SearchOptions searchOptions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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​(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
      • 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