|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ID
- The type of the entity class' unique idpublic interface PreferenceDao<ID extends Serializable>
A PreferenceDao offers basic functionality to find and retrieve
AbstractPreference
s.
Method Summary | ||
---|---|---|
List<AbstractPreference> |
findAll()
Find all entities and return them as a List . |
|
AbstractPreference |
findByKey(ID id)
Find and return the entity identified by the natural unique key. |
|
|
findByType(Class<T> clazz)
Find all preferences of a particular type. |
Method Detail |
---|
AbstractPreference findByKey(ID id)
id
- Natural key to find the entity (also known as business key)
<T extends AbstractPreference> List<T> findByType(Class<T> clazz)
T
- Any subtype of AbstractPreference
clazz
- The type to search for
List<AbstractPreference> findAll()
List
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |