Class DbHistoryEventHandler
java.lang.Object
org.operaton.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DbEntityManagervoidhandleEvent(HistoryEvent historyEvent) Called by the process engine when an history event is fired.voidhandleEvents(List<HistoryEvent> historyEvents) Called by the process engine when an history event is fired.protected voidprotected voidcustomized insert behavior for HistoricVariableUpdateEventEntityprotected voidinsertOrUpdate(HistoryEvent historyEvent) general history event insert behaviorprotected booleanisInitialEvent(HistoryEvent historyEvent) protected booleanshouldWriteHistoricDetail(HistoricVariableUpdateEventEntity historyEvent)
-
Constructor Details
-
DbHistoryEventHandler
public DbHistoryEventHandler()
-
-
Method Details
-
handleEvent
Description copied from interface:HistoryEventHandlerCalled by the process engine when an history event is fired.- Specified by:
handleEventin interfaceHistoryEventHandler- Parameters:
historyEvent- theHistoryEventthat is about to be fired.
-
handleEvents
Description copied from interface:HistoryEventHandlerCalled by the process engine when an history event is fired.- Specified by:
handleEventsin interfaceHistoryEventHandler- Parameters:
historyEvents- theHistoryEventthat is about to be fired.
-
insertOrUpdate
general history event insert behavior -
insertHistoricVariableUpdateEntity
customized insert behavior for HistoricVariableUpdateEventEntity -
shouldWriteHistoricDetail
-
insertHistoricDecisionEvaluationEvent
-
isInitialEvent
-
getDbEntityManager
-