org.hibernate.envers.query.criteria
Class CriteriaTools

java.lang.Object
  extended by org.hibernate.envers.query.criteria.CriteriaTools

public class CriteriaTools
extends Object

Author:
Adam Warski (adam at warski dot org)

Method Summary
static void checkPropertyNotARelation(AuditConfiguration verCfg, String entityName, String propertyName)
           
static RelationDescription getRelatedEntity(AuditConfiguration verCfg, String entityName, String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkPropertyNotARelation

public static void checkPropertyNotARelation(AuditConfiguration verCfg,
                                             String entityName,
                                             String propertyName)
                                      throws AuditException
Throws:
AuditException

getRelatedEntity

public static RelationDescription getRelatedEntity(AuditConfiguration verCfg,
                                                   String entityName,
                                                   String propertyName)
                                            throws AuditException
Throws:
AuditException


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