Class AuditProcess
- java.lang.Object
-
- org.hibernate.envers.internal.synchronization.AuditProcess
-
- All Implemented Interfaces:
BeforeTransactionCompletionProcess
public class AuditProcess extends Object implements BeforeTransactionCompletionProcess
-
-
Constructor Summary
Constructors Constructor Description AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWorkUnit(AuditWorkUnit vwu)
void
cacheEntityState(Object id, String entityName, Object[] snapshot)
void
doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.Object[]
getCachedEntityState(Object id, String entityName)
Object
getCurrentRevisionData(Session session, boolean persist)
-
-
-
Constructor Detail
-
AuditProcess
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session)
-
-
Method Detail
-
addWorkUnit
public void addWorkUnit(AuditWorkUnit vwu)
-
doBeforeTransactionCompletion
public void doBeforeTransactionCompletion(SessionImplementor session)
Description copied from interface:BeforeTransactionCompletionProcess
Perform whatever processing is encapsulated here before completion of the transaction.- Specified by:
doBeforeTransactionCompletion
in interfaceBeforeTransactionCompletionProcess
- Parameters:
session
- The session on which the transaction is preparing to complete.
-
-