public class BusinessArchiveServiceImpl extends Object implements BusinessArchiveService
| Constructor and Description |
|---|
BusinessArchiveServiceImpl(ProcessDefinitionService processDefinitionService,
org.bonitasoft.engine.dependency.DependencyService dependencyService,
BusinessArchiveArtifactsManager businessArchiveArtifactsManager,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.classloader.ClassLoaderService classLoaderService) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(long processDefinitionId) |
SProcessDefinition |
deploy(BusinessArchive businessArchive) |
BusinessArchive |
export(long processDefinitionId) |
public BusinessArchiveServiceImpl(ProcessDefinitionService processDefinitionService, org.bonitasoft.engine.dependency.DependencyService dependencyService, BusinessArchiveArtifactsManager businessArchiveArtifactsManager, org.bonitasoft.engine.log.technical.TechnicalLoggerService logger, org.bonitasoft.engine.classloader.ClassLoaderService classLoaderService)
public SProcessDefinition deploy(BusinessArchive businessArchive) throws org.bonitasoft.engine.commons.exceptions.SObjectCreationException, org.bonitasoft.engine.commons.exceptions.SAlreadyExistsException
deploy in interface BusinessArchiveServiceorg.bonitasoft.engine.commons.exceptions.SObjectCreationExceptionorg.bonitasoft.engine.commons.exceptions.SAlreadyExistsExceptionpublic BusinessArchive export(long processDefinitionId) throws org.bonitasoft.engine.commons.exceptions.SBonitaException, InvalidBusinessArchiveFormatException
export in interface BusinessArchiveServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionInvalidBusinessArchiveFormatExceptionpublic void delete(long processDefinitionId)
throws SProcessDefinitionNotFoundException,
org.bonitasoft.engine.commons.exceptions.SObjectModificationException
delete in interface BusinessArchiveServiceSProcessDefinitionNotFoundExceptionorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.