Interface TitleDao
- All Known Implementing Classes:
DefaultTitleDao
public interface TitleDao
Dao for
TitleModel access.- Since:
- 4.3
- Spring Bean ID:
- titleDao
-
Method Summary
Modifier and TypeMethodDescriptionfindTitleByCode(String code) Finds the title by the given code.Finds allTitleModelin the system.
-
Method Details
-
findTitles
Collection<TitleModel> findTitles()Finds allTitleModelin the system.- Returns:
- an empty collection if no title was found.
-
findTitleByCode
Finds the title by the given code.- Parameters:
code- the code of the title (example dr.)- Returns:
nullif noTitleModelby the givencodewas found.- Throws:
AmbiguousIdentifierException- if more than one titles were found for the given code.
-