Class BPMArchiverService
- java.lang.Object
-
- org.bonitasoft.engine.execution.archive.BPMArchiverService
-
public class BPMArchiverService extends java.lang.Object- Author:
- Elias Ricken de Medeiros, Baptiste Mesta, Celine Souchet
-
-
Constructor Summary
Constructors Constructor Description BPMArchiverService(ArchiveService archiveService, ProcessInstanceService processInstanceService, DocumentService documentService, SCommentService commentService, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, RefBusinessDataService refBusinessDataService, ContractDataService contractDataService, DataInstanceService dataInstanceService, ActivityInstanceService activityInstanceService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidarchiveAndDeleteFlowNodeInstance(SFlowNodeInstance flowNodeInstance, long processDefinitionId)voidarchiveAndDeleteProcessInstance(SProcessInstance processInstance)protected voidarchiveConnectorInstancesIfAny(SProcessInstance processInstance, SProcessDefinition processDefinition, long archiveDate)voidarchiveFlowNodeInstance(SFlowNodeInstance flowNodeInstance)protected SAProcessInstancebuildArchiveProcessInstance(SProcessInstance processInstance)
-
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
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
protected SAProcessInstance buildArchiveProcessInstance(SProcessInstance processInstance)
-
archiveAndDeleteFlowNodeInstance
public void archiveAndDeleteFlowNodeInstance(SFlowNodeInstance flowNodeInstance, long processDefinitionId) throws SArchivingException
- Throws:
SArchivingException
-
archiveFlowNodeInstance
public void archiveFlowNodeInstance(SFlowNodeInstance flowNodeInstance) throws SArchivingException
- Throws:
SArchivingException
-
-