public interface CriteriaLookupService
Modifier and Type | Method and Description |
---|---|
<T> GenericQueryResults<List<String>> |
genericLookup(Class<T> queryClass,
QueryByCriteria criteria,
List<String> fields)
Looks up the requested field of a type based on a query criteria.
|
<T> GenericQueryResults<List<String>> |
genericLookup(Class<T> queryClass,
QueryByCriteria criteria,
LookupCustomizer<T> customizer,
List<String> fields)
Looks up the requested field of a type based on a query criteria.
|
<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.
|
<T> GenericQueryResults<String> |
lookupIds(Class<T> queryClass,
QueryByCriteria criteria)
Looks up the id of a type based on a query criteria.
|
<T> GenericQueryResults<String> |
lookupIds(Class<T> queryClass,
QueryByCriteria criteria,
LookupCustomizer<T> customizer)
Looks up the id of a type based on a query criteria.
|
<T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.IllegalArgumentException
- if the criteria is null<T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.IllegalArgumentException
- if the criteria is null<T> GenericQueryResults<String> lookupIds(Class<T> queryClass, QueryByCriteria criteria)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.IllegalArgumentException
- if the criteria is null<T> GenericQueryResults<String> lookupIds(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.IllegalArgumentException
- if the criteria is null<T> GenericQueryResults<List<String>> genericLookup(Class<T> queryClass, QueryByCriteria criteria, List<String> fields)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.fields
- the field of the query class to lookupIllegalArgumentException
- if the criteria is null<T> GenericQueryResults<List<String>> genericLookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer, List<String> fields)
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.fields
- the field of the query class to lookupIllegalArgumentException
- if the criteria is nullCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.