|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CriteriaLookupDao
Defines basic methods that CriteriaLookup Dao's must provide
Method Summary | ||
---|---|---|
|
lookup(Class<T> queryClass,
QueryByCriteria criteria)
Looks up a type based on a query criteria. |
|
|
lookup(Class<T> queryClass,
QueryByCriteria criteria,
LookupCustomizer<T> customizer)
Looks up a type based on a query criteria. |
Method Detail |
---|
<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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |