org.kuali.rice.krad.criteria
Class CriteriaLookupDaoProxy

java.lang.Object
  extended by org.kuali.rice.krad.criteria.CriteriaLookupDaoProxy
All Implemented Interfaces:
CriteriaLookupDao

public class CriteriaLookupDaoProxy
extends Object
implements CriteriaLookupDao


Constructor Summary
CriteriaLookupDaoProxy()
           
 
Method Summary
<T> GenericQueryResults<T>
lookup(Class<T> queryClass, QueryByCriteria criteria)
          Looks up a type based on a query criteria.
<T> GenericQueryResults<T>
lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
          Looks up a type based on a query criteria.
 void setCriteriaLookupDaoJpa(CriteriaLookupDao lookupDaoJpa)
           
 void setCriteriaLookupDaoOjb(CriteriaLookupDao lookupDaoOjb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaLookupDaoProxy

public CriteriaLookupDaoProxy()
Method Detail

setCriteriaLookupDaoJpa

public void setCriteriaLookupDaoJpa(CriteriaLookupDao lookupDaoJpa)

setCriteriaLookupDaoOjb

public void setCriteriaLookupDaoOjb(CriteriaLookupDao lookupDaoOjb)

lookup

public <T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                         QueryByCriteria criteria)
Description copied from interface: CriteriaLookupDao
Looks up a type based on a query criteria.

Specified by:
lookup in interface CriteriaLookupDao
Type Parameters:
T - the type that is being looked up.
Parameters:
queryClass - the class to lookup
criteria - the criteria to lookup against. cannot be null.
Returns:
the results. will never be null.

lookup

public <T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                         QueryByCriteria criteria,
                                         LookupCustomizer<T> customizer)
Description copied from interface: CriteriaLookupDao
Looks up a type based on a query criteria.

Specified by:
lookup in interface CriteriaLookupDao
Type Parameters:
T - the type that is being looked up.
Parameters:
queryClass - the class to lookup
criteria - the criteria to lookup against. cannot be null.
Returns:
the results. will never be null.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.