Class DefaultCmmnHistoryEventProducer
java.lang.Object
org.camunda.bpm.engine.impl.history.producer.DefaultCmmnHistoryEventProducer
- All Implemented Interfaces:
CmmnHistoryEventProducer
- Direct Known Subclasses:
CacheAwareCmmnHistoryEventProducer
- Author:
- Sebastian Menski
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCaseActivityInstanceCreateEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case activity instance is created.createCaseActivityInstanceEndEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case activity instance is ended.createCaseActivityInstanceUpdateEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case activity instance is updated.createCaseInstanceCloseEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case instance is closed.createCaseInstanceCreateEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case instance is created.createCaseInstanceUpdateEvt
(DelegateCaseExecution caseExecution) Creates the history event fired when a case instance is updated.protected void
initCaseActivityInstanceEvent
(HistoricCaseActivityInstanceEventEntity evt, CaseExecutionEntity caseExecutionEntity, HistoryEventTypes eventType) protected void
initCaseInstanceEvent
(HistoricCaseInstanceEventEntity evt, CaseExecutionEntity caseExecutionEntity, HistoryEventTypes eventType) protected HistoricCaseActivityInstanceEventEntity
loadCaseActivityInstanceEventEntity
(CaseExecutionEntity caseExecutionEntity) protected HistoricCaseInstanceEventEntity
loadCaseInstanceEventEntity
(CaseExecutionEntity caseExecutionEntity) protected HistoricCaseActivityInstanceEventEntity
newCaseActivityInstanceEventEntity
(CaseExecutionEntity caseExecutionEntity) protected HistoricCaseInstanceEventEntity
newCaseInstanceEventEntity
(CaseExecutionEntity caseExecutionEntity)
-
Constructor Details
-
DefaultCmmnHistoryEventProducer
public DefaultCmmnHistoryEventProducer()
-
-
Method Details
-
createCaseInstanceCreateEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case instance is created.- Specified by:
createCaseInstanceCreateEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
createCaseInstanceUpdateEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case instance is updated.- Specified by:
createCaseInstanceUpdateEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
createCaseInstanceCloseEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case instance is closed.- Specified by:
createCaseInstanceCloseEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
createCaseActivityInstanceCreateEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case activity instance is created.- Specified by:
createCaseActivityInstanceCreateEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
createCaseActivityInstanceUpdateEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case activity instance is updated.- Specified by:
createCaseActivityInstanceUpdateEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
createCaseActivityInstanceEndEvt
Description copied from interface:CmmnHistoryEventProducer
Creates the history event fired when a case activity instance is ended.- Specified by:
createCaseActivityInstanceEndEvt
in interfaceCmmnHistoryEventProducer
- Parameters:
caseExecution
- the current case execution- Returns:
- the created history event
-
newCaseInstanceEventEntity
protected HistoricCaseInstanceEventEntity newCaseInstanceEventEntity(CaseExecutionEntity caseExecutionEntity) -
loadCaseInstanceEventEntity
protected HistoricCaseInstanceEventEntity loadCaseInstanceEventEntity(CaseExecutionEntity caseExecutionEntity) -
initCaseInstanceEvent
protected void initCaseInstanceEvent(HistoricCaseInstanceEventEntity evt, CaseExecutionEntity caseExecutionEntity, HistoryEventTypes eventType) -
newCaseActivityInstanceEventEntity
protected HistoricCaseActivityInstanceEventEntity newCaseActivityInstanceEventEntity(CaseExecutionEntity caseExecutionEntity) -
loadCaseActivityInstanceEventEntity
protected HistoricCaseActivityInstanceEventEntity loadCaseActivityInstanceEventEntity(CaseExecutionEntity caseExecutionEntity) -
initCaseActivityInstanceEvent
protected void initCaseActivityInstanceEvent(HistoricCaseActivityInstanceEventEntity evt, CaseExecutionEntity caseExecutionEntity, HistoryEventTypes eventType)
-