org.hibernate.envers.event
Class AuditEventListener
java.lang.Object
org.hibernate.envers.event.AuditEventListener
- All Implemented Interfaces:
- Serializable, org.hibernate.event.Initializable, org.hibernate.event.PostCollectionRecreateEventListener, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostInsertEventListener, org.hibernate.event.PostUpdateEventListener, org.hibernate.event.PreCollectionRemoveEventListener, org.hibernate.event.PreCollectionUpdateEventListener
- Direct Known Subclasses:
- VersionsEventListener
public class AuditEventListener
- extends Object
- implements org.hibernate.event.PostInsertEventListener, org.hibernate.event.PostUpdateEventListener, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PreCollectionUpdateEventListener, org.hibernate.event.PreCollectionRemoveEventListener, org.hibernate.event.PostCollectionRecreateEventListener, org.hibernate.event.Initializable
- Author:
- Adam Warski (adam at warski dot org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditEventListener
public AuditEventListener()
onPostInsert
public void onPostInsert(org.hibernate.event.PostInsertEvent event)
- Specified by:
onPostInsert
in interface org.hibernate.event.PostInsertEventListener
onPostUpdate
public void onPostUpdate(org.hibernate.event.PostUpdateEvent event)
- Specified by:
onPostUpdate
in interface org.hibernate.event.PostUpdateEventListener
onPostDelete
public void onPostDelete(org.hibernate.event.PostDeleteEvent event)
- Specified by:
onPostDelete
in interface org.hibernate.event.PostDeleteEventListener
onPreUpdateCollection
public void onPreUpdateCollection(org.hibernate.event.PreCollectionUpdateEvent event)
- Specified by:
onPreUpdateCollection
in interface org.hibernate.event.PreCollectionUpdateEventListener
onPreRemoveCollection
public void onPreRemoveCollection(org.hibernate.event.PreCollectionRemoveEvent event)
- Specified by:
onPreRemoveCollection
in interface org.hibernate.event.PreCollectionRemoveEventListener
onPostRecreateCollection
public void onPostRecreateCollection(org.hibernate.event.PostCollectionRecreateEvent event)
- Specified by:
onPostRecreateCollection
in interface org.hibernate.event.PostCollectionRecreateEventListener
initialize
public void initialize(org.hibernate.cfg.Configuration cfg)
- Specified by:
initialize
in interface org.hibernate.event.Initializable
getVerCfg
public AuditConfiguration getVerCfg()
Copyright © 2008 Hibernate.org. All Rights Reserved.