Class AuditProcess
java.lang.Object
org.hibernate.envers.internal.synchronization.AuditProcess
- All Implemented Interfaces:
BeforeTransactionCompletionProcess
-
Constructor Summary
ConstructorsConstructorDescriptionAuditProcess(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWorkUnit(AuditWorkUnit vwu) voidcacheEntityState(Object id, String entityName, Object[] snapshot) voidPerform whatever processing is encapsulated here before completion of the transaction.Object[]getCachedEntityState(Object id, String entityName) getCurrentRevisionData(Session session, boolean persist)
-
Constructor Details
-
AuditProcess
-
-
Method Details
-
cacheEntityState
-
getCachedEntityState
-
addWorkUnit
-
getCurrentRevisionData
-
doBeforeTransactionCompletion
Description copied from interface:BeforeTransactionCompletionProcessPerform whatever processing is encapsulated here before completion of the transaction.- Specified by:
doBeforeTransactionCompletionin interfaceBeforeTransactionCompletionProcess- Parameters:
session- The session on which the transaction is preparing to complete.
-