Interface TitleDao
-
- All Known Implementing Classes:
DefaultTitleDao
public interface TitleDao
Dao forTitleModel
access.- Since:
- 4.3
- Spring Bean ID:
- titleDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TitleModel
findTitleByCode(java.lang.String code)
Finds the title by the given code.java.util.Collection<TitleModel>
findTitles()
Finds allTitleModel
in the system.
-
-
-
Method Detail
-
findTitles
java.util.Collection<TitleModel> findTitles()
Finds allTitleModel
in 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:
null
if noTitleModel
by the givencode
was found.- Throws:
AmbiguousIdentifierException
- if more than one titles were found for the given code.
-
-