Interface TitleDao

All Known Implementing Classes:
DefaultTitleDao

public interface TitleDao
Dao for TitleModel access.
Since:
4.3
Spring Bean ID:
titleDao
  • Method Details

    • findTitles

      Collection<TitleModel> findTitles()
      Finds all TitleModel in the system.
      Returns:
      an empty collection if no title was found.
    • findTitleByCode

      TitleModel findTitleByCode(String code)
      Finds the title by the given code.
      Parameters:
      code - the code of the title (example dr.)
      Returns:
      null if no TitleModel by the given code was found.
      Throws:
      AmbiguousIdentifierException - if more than one titles were found for the given code.