|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler
public class DbHistoryEventHandler
History event handler that writes history events to the process engine database using the DbEntityManager.
| 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 |
insertHistoricDecisionInstanceEntity(HistoricDecisionInstanceEntity historicDecisionInstanceEntity)
|
protected void |
insertHistoricVariableUpdateEntity(HistoricVariableUpdateEventEntity historyEvent)
customized insert behavior for HistoricVariableUpdateEventEntity |
protected void |
insertOrUpdate(HistoryEvent historyEvent)
general history event insert behavior |
protected boolean |
isInitialEvent(HistoryEvent historyEvent)
|
protected boolean |
shouldWriteHistoricDetail(HistoricVariableUpdateEventEntity historyEvent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbHistoryEventHandler()
| Method Detail |
|---|
public void handleEvent(HistoryEvent historyEvent)
HistoryEventHandler
handleEvent in interface HistoryEventHandlerhistoryEvent - the HistoryEvent that is about to be fired.public void handleEvents(List<HistoryEvent> historyEvents)
HistoryEventHandler
handleEvents in interface HistoryEventHandlerprotected void insertOrUpdate(HistoryEvent historyEvent)
protected void insertHistoricVariableUpdateEntity(HistoricVariableUpdateEventEntity historyEvent)
protected boolean shouldWriteHistoricDetail(HistoricVariableUpdateEventEntity historyEvent)
protected void insertHistoricDecisionInstanceEntity(HistoricDecisionInstanceEntity historicDecisionInstanceEntity)
protected boolean isInitialEvent(HistoryEvent historyEvent)
protected DbEntityManager getDbEntityManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||