Interface TitleDao
-
- All Known Implementing Classes:
DefaultTitleDao
public interface TitleDaoDao forTitleModelaccess.- Since:
- 4.3
- Spring Bean ID:
- titleDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TitleModelfindTitleByCode(java.lang.String code)Finds the title by the given code.java.util.Collection<TitleModel>findTitles()Finds allTitleModelin the system.
-
-
-
Method Detail
-
findTitles
java.util.Collection<TitleModel> findTitles()
Finds allTitleModelin the system.- Returns:
- an empty collection if no title was found.
-
findTitleByCode
TitleModel findTitleByCode(java.lang.String code)
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.
-
-