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 TypeMethodDescriptionvoid
addWorkUnit
(AuditWorkUnit vwu) void
cacheEntityState
(Object id, String entityName, Object[] snapshot) void
Perform 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: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.
-