public class ConnectorBusinessArchiveArtifactManager extends Object implements BusinessArchiveArtifactManager
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE |
static String |
CONNECTOR |
| Constructor and Description |
|---|
ConnectorBusinessArchiveArtifactManager(org.bonitasoft.engine.core.connector.ConnectorService connectorService) |
| Modifier and Type | Method and Description |
|---|---|
List<Problem> |
checkResolution(SProcessDefinition processDefinition) |
void |
delete(SProcessDefinition processDefinition) |
boolean |
deploy(BusinessArchive businessArchive,
SProcessDefinition processDefinition)
deploy a dedicated part of the process
e.g.
|
void |
exportToBusinessArchive(long processDefinitionId,
BusinessArchiveBuilder businessArchiveBuilder) |
public static final String CONNECTOR
public static final int BATCH_SIZE
public ConnectorBusinessArchiveArtifactManager(org.bonitasoft.engine.core.connector.ConnectorService connectorService)
public boolean deploy(BusinessArchive businessArchive, SProcessDefinition processDefinition) throws ConnectorException, org.bonitasoft.engine.recorder.SRecorderException
BusinessArchiveArtifactManagerdeploy in interface BusinessArchiveArtifactManagerbusinessArchive - the business archive containing the dependencyprocessDefinition - the process definitionConnectorExceptionorg.bonitasoft.engine.recorder.SRecorderExceptionpublic List<Problem> checkResolution(SProcessDefinition processDefinition)
checkResolution in interface BusinessArchiveArtifactManagerprocessDefinition - the process definitionpublic void delete(SProcessDefinition processDefinition) throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException, org.bonitasoft.engine.persistence.SBonitaReadException, org.bonitasoft.engine.recorder.SRecorderException
delete in interface BusinessArchiveArtifactManagerorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.recorder.SRecorderExceptionpublic void exportToBusinessArchive(long processDefinitionId,
BusinessArchiveBuilder businessArchiveBuilder)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
exportToBusinessArchive in interface BusinessArchiveArtifactManagerorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.