Interface PreferenceRepositoryCustom
- All Known Subinterfaces:
PreferenceRepository
- All Known Implementing Classes:
PreferenceRepositoryImpl
interface PreferenceRepositoryCustom
A PreferenceRepositoryCustom defines additional custom methods to search preferences by class type.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescription<T extends PreferenceEO>
List<T> findByType
(Class<T> clazz) Find and return all preferences that are of the givenclazz
type.
-
Method Details
-
findByType
Find and return all preferences that are of the givenclazz
type.- Type Parameters:
T
- Any type ofPreferenceEO
- Parameters:
clazz
- A subclass ofPreferenceEO
to search for- Returns:
- A list of all preferences or an empty list, never null
-