Class DbHistoryEventHandler
java.lang.Object
org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler
- All Implemented Interfaces:
HistoryEventHandler
History event handler that writes history events to the process engine database using the DbEntityManager.
- Author:
- Daniel Meyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DbEntityManager
void
handleEvent
(HistoryEvent historyEvent) Called by the process engine when an history event is fired.void
handleEvents
(List<HistoryEvent> historyEvents) Called by the process engine when an history event is fired.protected void
protected void
customized insert behavior for HistoricVariableUpdateEventEntityprotected void
insertOrUpdate
(HistoryEvent historyEvent) general history event insert behaviorprotected boolean
isInitialEvent
(HistoryEvent historyEvent) protected boolean
shouldWriteHistoricDetail
(HistoricVariableUpdateEventEntity historyEvent)
-
Constructor Details
-
DbHistoryEventHandler
public DbHistoryEventHandler()
-
-
Method Details
-
handleEvent
Description copied from interface:HistoryEventHandler
Called by the process engine when an history event is fired.- Specified by:
handleEvent
in interfaceHistoryEventHandler
- Parameters:
historyEvent
- theHistoryEvent
that is about to be fired.
-
handleEvents
Description copied from interface:HistoryEventHandler
Called by the process engine when an history event is fired.- Specified by:
handleEvents
in interfaceHistoryEventHandler
- Parameters:
historyEvents
- theHistoryEvent
that is about to be fired.
-
insertOrUpdate
general history event insert behavior -
insertHistoricVariableUpdateEntity
customized insert behavior for HistoricVariableUpdateEventEntity -
shouldWriteHistoricDetail
-
insertHistoricDecisionEvaluationEvent
-
isInitialEvent
-
getDbEntityManager
-