Class DefaultCmmnHistoryEventProducer
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.producer.DefaultCmmnHistoryEventProducer
-
- All Implemented Interfaces:
CmmnHistoryEventProducer
- Direct Known Subclasses:
CacheAwareCmmnHistoryEventProducer
public class DefaultCmmnHistoryEventProducer extends java.lang.Object implements CmmnHistoryEventProducer
- Author:
- Sebastian Menski
-
-
Constructor Summary
Constructors Constructor Description DefaultCmmnHistoryEventProducer()
-
Method Summary
-
-
-
Method Detail
-
createCaseInstanceCreateEvt
public HistoryEvent createCaseInstanceCreateEvt(DelegateCaseExecution caseExecution)
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
public HistoryEvent createCaseInstanceUpdateEvt(DelegateCaseExecution caseExecution)
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
public HistoryEvent createCaseInstanceCloseEvt(DelegateCaseExecution caseExecution)
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
public HistoryEvent createCaseActivityInstanceCreateEvt(DelegateCaseExecution caseExecution)
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
public HistoryEvent createCaseActivityInstanceUpdateEvt(DelegateCaseExecution caseExecution)
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
public HistoryEvent createCaseActivityInstanceEndEvt(DelegateCaseExecution caseExecution)
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)
-
-