Class BPMArchiverService
java.lang.Object
org.bonitasoft.engine.execution.archive.BPMArchiverService
- Author:
- Elias Ricken de Medeiros, Baptiste Mesta, Celine Souchet
-
Constructor Summary
ConstructorsConstructorDescriptionBPMArchiverService(ArchiveService archiveService, ProcessInstanceService processInstanceService, DocumentService documentService, SCommentService commentService, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, RefBusinessDataService refBusinessDataService, ContractDataService contractDataService, DataInstanceService dataInstanceService, ActivityInstanceService activityInstanceService, BPMFailureService bpmFailureService) -
Method Summary
Modifier and TypeMethodDescriptionvoidarchiveAndDeleteFlowNodeInstance(SFlowNodeInstance flowNodeInstance, long processDefinitionId) voidarchiveAndDeleteProcessInstance(SProcessInstance processInstance) protected voidarchiveConnectorInstancesIfAny(SProcessInstance processInstance, SProcessDefinition processDefinition, long archiveDate) voidarchiveFlowNodeInstance(SFlowNodeInstance flowNodeInstance) protected SAProcessInstancebuildArchiveProcessInstance(SProcessInstance processInstance)
-
Constructor Details
-
BPMArchiverService
public BPMArchiverService(ArchiveService archiveService, ProcessInstanceService processInstanceService, DocumentService documentService, SCommentService commentService, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, RefBusinessDataService refBusinessDataService, ContractDataService contractDataService, DataInstanceService dataInstanceService, ActivityInstanceService activityInstanceService, BPMFailureService bpmFailureService)
-
-
Method Details
-
archiveAndDeleteProcessInstance
public void archiveAndDeleteProcessInstance(SProcessInstance processInstance) throws SArchivingException - Throws:
SArchivingException
-
archiveConnectorInstancesIfAny
protected void archiveConnectorInstancesIfAny(SProcessInstance processInstance, SProcessDefinition processDefinition, long archiveDate) throws SArchivingException - Throws:
SArchivingException
-
buildArchiveProcessInstance
-
archiveAndDeleteFlowNodeInstance
public void archiveAndDeleteFlowNodeInstance(SFlowNodeInstance flowNodeInstance, long processDefinitionId) throws SArchivingException - Throws:
SArchivingException
-
archiveFlowNodeInstance
- Throws:
SArchivingException
-