Interface BusinessArchiveArtifactManager

All Known Implementing Classes:
ActorBusinessArchiveArtifactManager, BARResourceArtifactManager, BusinessDataBusinessArchiveArtifactManager, ClasspathArtifactManager, ConnectorBusinessArchiveArtifactManager, DocumentInitialValueArtifactManager, ExternalResourceArtifactManager, FormMappingAndPageArtifactManager, ParameterBusinessArchiveArtifactManager, UserFilterBusinessArchiveArtifactManager

public interface BusinessArchiveArtifactManager
Author:
Baptiste Mesta, Matthieu Chaffotte, Celine Souchet
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.bonitasoft.engine.bpm.process.Problem>
     
    void
    delete(SProcessDefinition processDefinition)
     
    boolean
    deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive, SProcessDefinition processDefinition)
    deploy a dedicated part of the process e.g.
    void
    exportToBusinessArchive(long processDefinitionId, org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder)
     
  • Method Details

    • deploy

      boolean deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive, SProcessDefinition processDefinition) throws org.bonitasoft.engine.exception.BonitaException, SBonitaException
      deploy a dedicated part of the process e.g. load connectors Must throw an exception is something is not resolved in the process
      Parameters:
      businessArchive - the business archive containing the dependency
      processDefinition - the process definition
      Returns:
      true if the process is resolved for this deployer, false otherwise
      Throws:
      org.bonitasoft.engine.exception.BonitaException
      SBonitaException
    • checkResolution

      List<org.bonitasoft.engine.bpm.process.Problem> checkResolution(SProcessDefinition processDefinition)
      Parameters:
      processDefinition - the process definition
      Returns:
      a list of resolution problems or an empty list is there is no issue for this artifact
    • delete

      Throws:
      SObjectModificationException
      SBonitaReadException
      SRecorderException
    • exportToBusinessArchive

      void exportToBusinessArchive(long processDefinitionId, org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder) throws SBonitaException
      Throws:
      SBonitaException