Class ProcessManagementAPIImplDelegate

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

public class ProcessManagementAPIImplDelegate extends Object
Author:
Matthieu Chaffotte
  • Constructor Details

    • ProcessManagementAPIImplDelegate

      public ProcessManagementAPIImplDelegate()
  • Method Details

    • getInstance

      public static ProcessManagementAPIImplDelegate getInstance()
    • getServiceAccessor

      protected ServiceAccessor getServiceAccessor()
    • getServerProcessDefinition

      public static SProcessDefinition getServerProcessDefinition(long processDefinitionId, ProcessDefinitionService processDefinitionService) throws SProcessDefinitionNotFoundException, SBonitaReadException
      Throws:
      SProcessDefinitionNotFoundException
      SBonitaReadException
    • deleteProcessDefinition

      public void deleteProcessDefinition(long processDefinitionId) throws SBonitaException, org.bonitasoft.engine.exception.BonitaHomeNotSetException, IOException
      Throws:
      SBonitaException
      org.bonitasoft.engine.exception.BonitaHomeNotSetException
      IOException
    • disableProcess

      public void disableProcess(long processId) throws SBonitaException
      Throws:
      SBonitaException
    • purgeClassLoader

      public void purgeClassLoader(long processDefinitionId) throws org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException, org.bonitasoft.engine.exception.UpdateException
      Throws:
      org.bonitasoft.engine.bpm.process.ProcessDefinitionNotFoundException
      org.bonitasoft.engine.exception.UpdateException
    • getParameterInstances

      public List<org.bonitasoft.engine.bpm.parameter.ParameterInstance> getParameterInstances(long processDefinitionId, int startIndex, int maxResults, org.bonitasoft.engine.bpm.parameter.ParameterCriterion sort)
    • getNumberOfParameterInstances

      public int getNumberOfParameterInstances(long processDefinitionId)
    • getParameterInstance

      public org.bonitasoft.engine.bpm.parameter.ParameterInstance getParameterInstance(long processDefinitionId, String parameterName) throws org.bonitasoft.engine.exception.NotFoundException
      Throws:
      org.bonitasoft.engine.exception.NotFoundException