org.kuali.kpme.core.util
Class OjbSubQueryUtil

java.lang.Object
  extended by org.kuali.kpme.core.util.OjbSubQueryUtil

public class OjbSubQueryUtil
extends Object


Constructor Summary
OjbSubQueryUtil()
           
 
Method Summary
static void addNumericCriteria(org.apache.ojb.broker.query.Criteria criteria, String propertyName, String propertyValue)
           
static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQuery(Class clazz, org.joda.time.LocalDate asOfDate, List<String> equalToField, boolean checkActive)
           
static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQueryWithFilter(Class clazz, org.apache.ojb.broker.query.Criteria effectiveDateFilter, List<String> equalToField, boolean checkActive)
           
static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQueryWithoutFilter(Class clazz, List<String> equalToField, boolean checkActive)
           
static org.apache.ojb.broker.query.ReportQueryByCriteria getTimestampSubQuery(Class clazz, List<String> equalToField, boolean checkActive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OjbSubQueryUtil

public OjbSubQueryUtil()
Method Detail

getEffectiveDateSubQuery

public static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQuery(Class clazz,
                                                                                         org.joda.time.LocalDate asOfDate,
                                                                                         List<String> equalToField,
                                                                                         boolean checkActive)

getEffectiveDateSubQueryWithoutFilter

public static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQueryWithoutFilter(Class clazz,
                                                                                                      List<String> equalToField,
                                                                                                      boolean checkActive)

getEffectiveDateSubQueryWithFilter

public static org.apache.ojb.broker.query.ReportQueryByCriteria getEffectiveDateSubQueryWithFilter(Class clazz,
                                                                                                   org.apache.ojb.broker.query.Criteria effectiveDateFilter,
                                                                                                   List<String> equalToField,
                                                                                                   boolean checkActive)

getTimestampSubQuery

public static org.apache.ojb.broker.query.ReportQueryByCriteria getTimestampSubQuery(Class clazz,
                                                                                     List<String> equalToField,
                                                                                     boolean checkActive)

addNumericCriteria

public static void addNumericCriteria(org.apache.ojb.broker.query.Criteria criteria,
                                      String propertyName,
                                      String propertyValue)


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.