org.hibernate.envers.entities.mapper.relation.query
Class QueryGeneratorTools

java.lang.Object
  extended by org.hibernate.envers.entities.mapper.relation.query.QueryGeneratorTools

public class QueryGeneratorTools
extends Object

Author:
Adam Warski (adam at warski dot org)

Constructor Summary
QueryGeneratorTools()
           
 
Method Summary
static void addAssociationAtRevision(QueryBuilder qb, Parameters rootParameters, MiddleIdData referencingIdData, String versionsMiddleEntityName, String eeOriginalIdPropertyPath, String revisionPropertyPath, String originalIdPropertyName, MiddleComponentData... componentDatas)
           
static void addEntityAtRevision(GlobalConfiguration globalCfg, QueryBuilder qb, Parameters rootParameters, MiddleIdData idData, String revisionPropertyPath, String originalIdPropertyName, String alias1, String alias2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryGeneratorTools

public QueryGeneratorTools()
Method Detail

addEntityAtRevision

public static void addEntityAtRevision(GlobalConfiguration globalCfg,
                                       QueryBuilder qb,
                                       Parameters rootParameters,
                                       MiddleIdData idData,
                                       String revisionPropertyPath,
                                       String originalIdPropertyName,
                                       String alias1,
                                       String alias2)

addAssociationAtRevision

public static void addAssociationAtRevision(QueryBuilder qb,
                                            Parameters rootParameters,
                                            MiddleIdData referencingIdData,
                                            String versionsMiddleEntityName,
                                            String eeOriginalIdPropertyPath,
                                            String revisionPropertyPath,
                                            String originalIdPropertyName,
                                            MiddleComponentData... componentDatas)


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