org.hibernate.envers.test.entities.reventity.trackmodifiedentities
Class ExtendedRevisionListener

java.lang.Object
  extended by org.hibernate.envers.test.entities.reventity.trackmodifiedentities.ExtendedRevisionListener
All Implemented Interfaces:
RevisionListener

public class ExtendedRevisionListener
extends Object
implements RevisionListener


Field Summary
static String COMMENT_VALUE
           
 
Constructor Summary
ExtendedRevisionListener()
           
 
Method Summary
 void newRevision(Object revisionEntity)
          Called when a new revision is created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT_VALUE

public static final String COMMENT_VALUE
See Also:
Constant Field Values
Constructor Detail

ExtendedRevisionListener

public ExtendedRevisionListener()
Method Detail

newRevision

public void newRevision(Object revisionEntity)
Description copied from interface: RevisionListener
Called when a new revision is created.

Specified by:
newRevision in interface RevisionListener
Parameters:
revisionEntity - An instance of the entity annotated with RevisionEntity, which will be persisted after this method returns. All properties on this entity that are to be persisted should be set by this method.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.