org.hibernate.envers.revisioninfo
Interface RevisionInfoGenerator

All Known Implementing Classes:
DefaultRevisionInfoGenerator

public interface RevisionInfoGenerator

Author:
Adam Warski (adam at warski dot org)

Method Summary
 void entityChanged(Class entityClass, String entityName, Serializable entityId, RevisionType revisionType, Object revisionEntity)
           
 Object generate()
           
 void saveRevisionData(Session session, Object revisionData)
           
 

Method Detail

saveRevisionData

void saveRevisionData(Session session,
                      Object revisionData)

generate

Object generate()

entityChanged

void entityChanged(Class entityClass,
                   String entityName,
                   Serializable entityId,
                   RevisionType revisionType,
                   Object revisionEntity)
See Also:
EntityTrackingRevisionListener.entityChanged(Class, String, Serializable, RevisionType, Object)


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