public class FormMappingAndPageArtifactManager extends java.lang.Object implements BusinessArchiveArtifactManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_MESSAGE_FORM_NOT_FOUND |
static java.lang.String |
ERROR_MESSAGE_FORM_NOT_SET |
static java.lang.String |
ERROR_MESSAGE_FORM_UNDEFINED |
static int |
NUMBER_OF_RESULTS |
| Constructor and Description |
|---|
FormMappingAndPageArtifactManager(SessionService sessionService,
SessionAccessor sessionAccessor,
PageService pageService,
TechnicalLoggerService technicalLoggerService,
FormMappingService formMappingService,
ProcessDefinitionService processDefinitionService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkFormMappingResolution(SFormMapping formMapping,
java.util.List<org.bonitasoft.engine.bpm.process.Problem> problems) |
protected java.util.List<org.bonitasoft.engine.bpm.process.Problem> |
checkPageProcessResolution(SProcessDefinition sProcessDefinition) |
java.util.List<org.bonitasoft.engine.bpm.process.Problem> |
checkResolution(SProcessDefinition processDefinition) |
void |
delete(SProcessDefinition processDefinition) |
protected void |
deleteFormMapping(java.lang.Long processDefinitionId) |
boolean |
deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
SProcessDefinition processDefinition)
deploy a dedicated part of the process
e.g.
|
void |
deployFormMappings(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
long processDefinitionId) |
void |
deployProcessPages(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
java.lang.Long processDefinitionId,
long userId) |
void |
exportToBusinessArchive(long processDefinitionId,
org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder) |
protected java.util.Map<java.lang.String,byte[]> |
getPageResources(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive) |
public static final java.lang.String ERROR_MESSAGE_FORM_NOT_SET
public static final java.lang.String ERROR_MESSAGE_FORM_NOT_FOUND
public static final java.lang.String ERROR_MESSAGE_FORM_UNDEFINED
public static final int NUMBER_OF_RESULTS
public FormMappingAndPageArtifactManager(SessionService sessionService, SessionAccessor sessionAccessor, PageService pageService, TechnicalLoggerService technicalLoggerService, FormMappingService formMappingService, ProcessDefinitionService processDefinitionService)
public boolean deploy(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
SProcessDefinition processDefinition)
throws org.bonitasoft.engine.bpm.process.ProcessDeployException
BusinessArchiveArtifactManagerdeploy in interface BusinessArchiveArtifactManagerbusinessArchive - the business archive containing the dependencyprocessDefinition - the process definitionorg.bonitasoft.engine.bpm.process.ProcessDeployExceptionpublic void deployProcessPages(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
java.lang.Long processDefinitionId,
long userId)
protected java.util.Map<java.lang.String,byte[]> getPageResources(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive)
public java.util.List<org.bonitasoft.engine.bpm.process.Problem> checkResolution(SProcessDefinition processDefinition)
checkResolution in interface BusinessArchiveArtifactManagerprocessDefinition - the process definitionpublic void delete(SProcessDefinition processDefinition) throws SObjectModificationException
delete in interface BusinessArchiveArtifactManagerSObjectModificationExceptionpublic void exportToBusinessArchive(long processDefinitionId,
org.bonitasoft.engine.bpm.bar.BusinessArchiveBuilder businessArchiveBuilder)
throws SBonitaException
exportToBusinessArchive in interface BusinessArchiveArtifactManagerSBonitaExceptionprotected void deleteFormMapping(java.lang.Long processDefinitionId)
throws SBonitaReadException,
SObjectModificationException
protected java.util.List<org.bonitasoft.engine.bpm.process.Problem> checkPageProcessResolution(SProcessDefinition sProcessDefinition) throws SBonitaReadException, SObjectNotFoundException
protected void checkFormMappingResolution(SFormMapping formMapping, java.util.List<org.bonitasoft.engine.bpm.process.Problem> problems) throws SBonitaReadException, SObjectNotFoundException
public void deployFormMappings(org.bonitasoft.engine.bpm.bar.BusinessArchive businessArchive,
long processDefinitionId)
throws org.bonitasoft.engine.bpm.process.ProcessDeployException
org.bonitasoft.engine.bpm.process.ProcessDeployException