public class FormMappingAndPageArtifactManager extends Object implements BusinessArchiveArtifactManager
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
static int |
NUMBER_OF_RESULTS |
| Constructor and Description |
|---|
FormMappingAndPageArtifactManager(SessionService sessionService,
org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor,
PageService pageService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService technicalLoggerService,
FormMappingService formMappingService,
ProcessDefinitionService processDefinitionService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkFormMappingResolution(SFormMapping formMapping,
List<Problem> problems) |
protected List<Problem> |
checkPageProcessResolution(SProcessDefinition sProcessDefinition) |
List<Problem> |
checkResolution(SProcessDefinition processDefinition) |
void |
delete(SProcessDefinition processDefinition) |
protected void |
deleteFormMapping(Long processDefinitionId) |
boolean |
deploy(BusinessArchive businessArchive,
SProcessDefinition processDefinition)
deploy a dedicated part of the process
e.g.
|
void |
deployFormMappings(BusinessArchive businessArchive,
long processDefinitionId) |
void |
deployProcessPages(BusinessArchive businessArchive,
Long processDefinitionId,
long userId) |
void |
exportToBusinessArchive(long processDefinitionId,
BusinessArchiveBuilder businessArchiveBuilder) |
protected Map<String,byte[]> |
getPageResources(BusinessArchive businessArchive) |
public static final String ERROR_MESSAGE
public static final int NUMBER_OF_RESULTS
public FormMappingAndPageArtifactManager(SessionService sessionService, org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor, PageService pageService, org.bonitasoft.engine.log.technical.TechnicalLoggerService technicalLoggerService, FormMappingService formMappingService, ProcessDefinitionService processDefinitionService)
public boolean deploy(BusinessArchive businessArchive, SProcessDefinition processDefinition) throws ProcessDeployException
BusinessArchiveArtifactManagerdeploy in interface BusinessArchiveArtifactManagerbusinessArchive - the business archive containing the dependencyprocessDefinition - the process definitionProcessDeployExceptionpublic void deployProcessPages(BusinessArchive businessArchive, Long processDefinitionId, long userId)
protected Map<String,byte[]> getPageResources(BusinessArchive businessArchive)
public List<Problem> checkResolution(SProcessDefinition processDefinition)
checkResolution in interface BusinessArchiveArtifactManagerprocessDefinition - the process definitionpublic void delete(SProcessDefinition processDefinition) throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException
delete in interface BusinessArchiveArtifactManagerorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic void exportToBusinessArchive(long processDefinitionId,
BusinessArchiveBuilder businessArchiveBuilder)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
exportToBusinessArchive in interface BusinessArchiveArtifactManagerorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected void deleteFormMapping(Long processDefinitionId) throws org.bonitasoft.engine.persistence.SBonitaReadException, org.bonitasoft.engine.commons.exceptions.SObjectModificationException
org.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionprotected List<Problem> checkPageProcessResolution(SProcessDefinition sProcessDefinition) throws org.bonitasoft.engine.persistence.SBonitaReadException, org.bonitasoft.engine.commons.exceptions.SObjectNotFoundException
org.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectNotFoundExceptionprotected void checkFormMappingResolution(SFormMapping formMapping, List<Problem> problems) throws org.bonitasoft.engine.persistence.SBonitaReadException, org.bonitasoft.engine.commons.exceptions.SObjectNotFoundException
org.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectNotFoundExceptionpublic void deployFormMappings(BusinessArchive businessArchive, long processDefinitionId) throws ProcessDeployException
ProcessDeployExceptionCopyright © 2016 Bonitasoft S.A.. All rights reserved.