Class DefaultTitleDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TitleModel>
de.hybris.platform.servicelayer.user.daos.impl.DefaultTitleDao
- All Implemented Interfaces:
GenericDao<TitleModel>,TitleDao
Default implementation of the
TitleDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTitleByCode(String code) Finds the title by the given code.Finds allTitleModelin the system.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultTitleDao
public DefaultTitleDao()
-
-
Method Details
-
findTitles
Description copied from interface:TitleDaoFinds allTitleModelin the system.- Specified by:
findTitlesin interfaceTitleDao- Returns:
- an empty collection if no title was found.
-
findTitleByCode
Description copied from interface:TitleDaoFinds the title by the given code.- Specified by:
findTitleByCodein interfaceTitleDao- Parameters:
code- the code of the title (example dr.)- Returns:
nullif noTitleModelby the givencodewas found.
-