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
- Author:
- Adam Warski (adam at warski dot org), Chris Cranford
-
-
Constructor Summary
Constructors Constructor Description AuditProcess(RevisionInfoGenerator revisionInfoGenerator, org.hibernate.engine.spi.SessionImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddWorkUnit(AuditWorkUnit vwu)voidcacheEntityState(Object id, String entityName, Object[] snapshot)voiddoBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session)Object[]getCachedEntityState(Object id, String entityName)ObjectgetCurrentRevisionData(org.hibernate.Session session, boolean persist)
-
-
-
Constructor Detail
-
AuditProcess
public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, org.hibernate.engine.spi.SessionImplementor session)
-
-
Method Detail
-
addWorkUnit
public void addWorkUnit(AuditWorkUnit vwu)
-
getCurrentRevisionData
public Object getCurrentRevisionData(org.hibernate.Session session, boolean persist)
-
doBeforeTransactionCompletion
public void doBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session)
- Specified by:
doBeforeTransactionCompletionin interfaceorg.hibernate.action.spi.BeforeTransactionCompletionProcess
-
-