Class AuditProcess
java.lang.Object
org.hibernate.envers.internal.synchronization.AuditProcess
- All Implemented Interfaces:
org.hibernate.action.spi.BeforeTransactionCompletionProcess
public class AuditProcess
extends Object
implements org.hibernate.action.spi.BeforeTransactionCompletionProcess
-
Constructor Summary
ConstructorsConstructorDescriptionAuditProcess(RevisionInfoGenerator revisionInfoGenerator, org.hibernate.engine.spi.SessionImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWorkUnit(AuditWorkUnit vwu) voidcacheEntityState(Object id, String entityName, Object[] snapshot) voiddoBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session) Object[]getCachedEntityState(Object id, String entityName) getCurrentRevisionData(org.hibernate.Session session, boolean persist)
-
Constructor Details
-
AuditProcess
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, org.hibernate.engine.spi.SessionImplementor session)
-
-
Method Details
-
cacheEntityState
-
getCachedEntityState
-
addWorkUnit
-
getCurrentRevisionData
-
doBeforeTransactionCompletion
public void doBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session) - Specified by:
doBeforeTransactionCompletionin interfaceorg.hibernate.action.spi.BeforeTransactionCompletionProcess
-