org.kuali.rice.core.api.criteria
Interface CriteriaLookupService
- All Known Implementing Classes: 
- CriteriaLookupServiceImpl
- public interface CriteriaLookupService 
 
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-2011 The Kuali Foundation. All Rights Reserved.