public class AuditProcess extends java.lang.Object implements BeforeTransactionCompletionProcess
Constructor and Description |
---|
AuditProcess(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkUnit(AuditWorkUnit vwu) |
void |
cacheEntityState(java.lang.Object id,
java.lang.String entityName,
java.lang.Object[] snapshot) |
void |
doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
java.lang.Object[] |
getCachedEntityState(java.lang.Object id,
java.lang.String entityName) |
java.lang.Object |
getCurrentRevisionData(Session session,
boolean persist) |
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
public void cacheEntityState(java.lang.Object id, java.lang.String entityName, java.lang.Object[] snapshot)
public java.lang.Object[] getCachedEntityState(java.lang.Object id, java.lang.String entityName)
public void addWorkUnit(AuditWorkUnit vwu)
public java.lang.Object getCurrentRevisionData(Session session, boolean persist)
public void doBeforeTransactionCompletion(SessionImplementor session)
BeforeTransactionCompletionProcess
doBeforeTransactionCompletion
in interface BeforeTransactionCompletionProcess
session
- The session on which the transaction is preparing to complete.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.