Class BPMFailureServiceImpl
java.lang.Object
org.bonitasoft.engine.core.process.instance.impl.BPMFailureServiceImpl
- All Implemented Interfaces:
BPMFailureService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bonitasoft.engine.core.process.instance.api.BPMFailureService
BPMFailureService.Failure -
Constructor Summary
ConstructorsConstructorDescriptionBPMFailureServiceImpl(PersistenceService persistenceService, ArchiveService archiveService) -
Method Summary
Modifier and TypeMethodDescriptionvoidarchiveFlowNodeFailures(long flowNodeInstanceId, long archiveDate) voidarchiveProcessInstanceFailures(long processInstanceId, long archiveDate) createFlowNodeFailure(SFlowNodeInstance flowNodeInstance, BPMFailureService.Failure failure) createProcessInstanceFailure(SProcessInstance processInstance, BPMFailureService.Failure failure) voiddeleteArchivedFlowNodeFailures(List<Long> flowNodeInstanceIds) voiddeleteArchivedProcessInstanceFailures(List<Long> processInstanceIds) voiddeleteFlowNodeFailures(long flowNodeInstanceId) voiddeleteProcessInstanceFailures(long processInstanceId) getArchivedChildProcessInstancesFailures(long rootProcessInstanceId, int maxResults) getArchivedFlowNodeFailures(long flowNodeInstanceId, int maxResults) getArchivedProcessInstanceFailures(long processInstanceId, int maxResults) getChildProcessInstancesFailures(long rootProcessInstanceId, int maxResults) getFlowNodeFailures(long flowNodeInstanceId, int maxResults) getProcessInstanceFailures(long processInstanceId, int maxResults)
-
Constructor Details
-
BPMFailureServiceImpl
-
-
Method Details
-
createFlowNodeFailure
public SBPMFailure createFlowNodeFailure(SFlowNodeInstance flowNodeInstance, BPMFailureService.Failure failure) throws SPersistenceException - Specified by:
createFlowNodeFailurein interfaceBPMFailureService- Throws:
SPersistenceException
-
getFlowNodeFailures
public List<SBPMFailure> getFlowNodeFailures(long flowNodeInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getFlowNodeFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-
archiveFlowNodeFailures
public void archiveFlowNodeFailures(long flowNodeInstanceId, long archiveDate) throws SBonitaException - Specified by:
archiveFlowNodeFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
deleteFlowNodeFailures
- Specified by:
deleteFlowNodeFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
deleteArchivedFlowNodeFailures
- Specified by:
deleteArchivedFlowNodeFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
getArchivedFlowNodeFailures
public List<SABPMFailure> getArchivedFlowNodeFailures(long flowNodeInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getArchivedFlowNodeFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-
createProcessInstanceFailure
public SBPMFailure createProcessInstanceFailure(SProcessInstance processInstance, BPMFailureService.Failure failure) throws SPersistenceException - Specified by:
createProcessInstanceFailurein interfaceBPMFailureService- Throws:
SPersistenceException
-
getProcessInstanceFailures
public List<SBPMFailure> getProcessInstanceFailures(long processInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getProcessInstanceFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-
archiveProcessInstanceFailures
public void archiveProcessInstanceFailures(long processInstanceId, long archiveDate) throws SBonitaException - Specified by:
archiveProcessInstanceFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
deleteProcessInstanceFailures
- Specified by:
deleteProcessInstanceFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
deleteArchivedProcessInstanceFailures
public void deleteArchivedProcessInstanceFailures(List<Long> processInstanceIds) throws SBonitaException - Specified by:
deleteArchivedProcessInstanceFailuresin interfaceBPMFailureService- Throws:
SBonitaException
-
getArchivedProcessInstanceFailures
public List<SABPMFailure> getArchivedProcessInstanceFailures(long processInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getArchivedProcessInstanceFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-
getChildProcessInstancesFailures
public List<SBPMFailure> getChildProcessInstancesFailures(long rootProcessInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getChildProcessInstancesFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-
getArchivedChildProcessInstancesFailures
public List<SABPMFailure> getArchivedChildProcessInstancesFailures(long rootProcessInstanceId, int maxResults) throws SBonitaReadException - Specified by:
getArchivedChildProcessInstancesFailuresin interfaceBPMFailureService- Throws:
SBonitaReadException
-