org.camunda.bpm.engine.impl.history.handler
Class DbHistoryEventHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler
All Implemented Interfaces:
HistoryEventHandler

public class DbHistoryEventHandler
extends Object
implements HistoryEventHandler

History event handler that writes history events to the process engine database using the DbEntityManager.

Author:
Daniel Meyer

Constructor Summary
DbHistoryEventHandler()
           
 
Method Summary
protected  DbEntityManager getDbEntityManager()
           
 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 insertHistoricVariableUpdateEntity(HistoricVariableUpdateEventEntity historyEvent)
          customized insert behavior for HistoricVariableUpdateEventEntity
protected  void insertOrUpdate(HistoryEvent historyEvent)
          general history event insert behavior
protected  boolean isInitialEvent(String eventType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbHistoryEventHandler

public DbHistoryEventHandler()
Method Detail

handleEvent

public void handleEvent(HistoryEvent historyEvent)
Description copied from interface: HistoryEventHandler
Called by the process engine when an history event is fired.

Specified by:
handleEvent in interface HistoryEventHandler
Parameters:
historyEvent - the HistoryEvent that is about to be fired.

handleEvents

public void handleEvents(List<HistoryEvent> historyEvents)
Description copied from interface: HistoryEventHandler
Called by the process engine when an history event is fired.

Specified by:
handleEvents in interface HistoryEventHandler

insertOrUpdate

protected void insertOrUpdate(HistoryEvent historyEvent)
general history event insert behavior


insertHistoricVariableUpdateEntity

protected void insertHistoricVariableUpdateEntity(HistoricVariableUpdateEventEntity historyEvent)
customized insert behavior for HistoricVariableUpdateEventEntity


isInitialEvent

protected boolean isInitialEvent(String eventType)

getDbEntityManager

protected DbEntityManager getDbEntityManager()


Copyright © 2015 camunda services GmbH. All rights reserved.