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 Type
    Method
    Description
    <T extends PreferenceEO>
    List<T>
    findByType(Class<T> clazz)
    Find and return all preferences that are of the given clazz type.
  • Method Details

    • findByType

      <T extends PreferenceEO> List<T> findByType(Class<T> clazz)
      Find and return all preferences that are of the given clazz type.
      Type Parameters:
      T - Any type of PreferenceEO
      Parameters:
      clazz - A subclass of PreferenceEO to search for
      Returns:
      A list of all preferences or an empty list, never null