org.kuali.rice.krad.criteria
Interface CriteriaLookupDao

All Known Implementing Classes:
CriteriaLookupDaoOjb, CriteriaLookupDaoProxy

Deprecated. use new KRAD Data framework DataObjectService

@Deprecated
public interface CriteriaLookupDao

Defines basic methods that CriteriaLookup Dao's must provide

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
<T> GenericQueryResults<T>
lookup(Class<T> queryClass, QueryByCriteria criteria)
          Deprecated. Looks up a type based on a query criteria.
<T> GenericQueryResults<T>
lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
          Deprecated. Looks up a type based on a query criteria.
 

Method Detail

lookup

<T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                  QueryByCriteria criteria)
Deprecated. 
Looks up a type based on a query criteria.

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.
Throws:
IllegalArgumentException - if the criteria is null

lookup

<T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                  QueryByCriteria criteria,
                                  LookupCustomizer<T> customizer)
Deprecated. 
Looks up a type based on a query criteria.

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.
Throws:
IllegalArgumentException - if the criteria is null


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.