Class ActorBusinessArchiveArtifactManager
java.lang.Object
org.bonitasoft.engine.api.impl.resolver.ActorBusinessArchiveArtifactManager
- All Implemented Interfaces:
BusinessArchiveArtifactManager
public class ActorBusinessArchiveArtifactManager
extends Object
implements BusinessArchiveArtifactManager
- Author:
- Baptiste Mesta, Matthieu Chaffotte, Celine Souchet
-
Constructor Summary
ConstructorsConstructorDescriptionActorBusinessArchiveArtifactManager(ActorMappingService actorMappingService, IdentityService identityService) -
Method Summary
Modifier and TypeMethodDescriptionList<org.bonitasoft.engine.bpm.process.Problem>checkResolution(ActorMappingService actorMappingService, long processDefinitionId) List<org.bonitasoft.engine.bpm.process.Problem>checkResolution(SProcessDefinition processDefinition) voiddelete(SProcessDefinition processDefinition) booleandeploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive, SProcessDefinition processDefinition) deploy a dedicated part of the process e.g.voidexportToBusinessArchive(long processDefinitionId, org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder)
-
Constructor Details
-
ActorBusinessArchiveArtifactManager
public ActorBusinessArchiveArtifactManager(ActorMappingService actorMappingService, IdentityService identityService)
-
-
Method Details
-
deploy
public boolean deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive, SProcessDefinition processDefinition) throws org.bonitasoft.engine.bpm.actor.ActorMappingImportException Description copied from interface:BusinessArchiveArtifactManagerdeploy a dedicated part of the process e.g. load connectors Must throw an exception is something is not resolved in the process- Specified by:
deployin interfaceBusinessArchiveArtifactManager- Parameters:
businessArchive- the business archive containing the dependencyprocessDefinition- the process definition- Returns:
- true if the process is resolved for this deployer, false otherwise
- Throws:
org.bonitasoft.engine.bpm.actor.ActorMappingImportException
-
checkResolution
public List<org.bonitasoft.engine.bpm.process.Problem> checkResolution(SProcessDefinition processDefinition) - Specified by:
checkResolutionin interfaceBusinessArchiveArtifactManager- Parameters:
processDefinition- the process definition- Returns:
- a list of resolution problems or an empty list is there is no issue for this artifact
-
delete
- Specified by:
deletein interfaceBusinessArchiveArtifactManager- Throws:
SObjectModificationException
-
exportToBusinessArchive
public void exportToBusinessArchive(long processDefinitionId, org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder) throws SBonitaException - Specified by:
exportToBusinessArchivein interfaceBusinessArchiveArtifactManager- Throws:
SBonitaException
-
checkResolution
public List<org.bonitasoft.engine.bpm.process.Problem> checkResolution(ActorMappingService actorMappingService, long processDefinitionId)
-