org.kuali.rice.core.api.criteria
Interface CriteriaLookupService

All Known Implementing Classes:
CriteriaLookupServiceImpl

public interface CriteriaLookupService


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.
 

Method Detail

lookup

<T> GenericQueryResults<T> lookup(Class<T> queryClass,
                                  QueryByCriteria criteria)
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)
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-2012 The Kuali Foundation. All Rights Reserved.