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
public class DefaultTitleDao extends DefaultGenericDao<TitleModel> implements TitleDao
Default implementation of theTitleDao.
-
-
Constructor Summary
Constructors Constructor Description DefaultTitleDao()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findTitles
public java.util.Collection<TitleModel> findTitles()
Description copied from interface:TitleDaoFinds allTitleModelin the system.- Specified by:
findTitlesin interfaceTitleDao- Returns:
- an empty collection if no title was found.
-
findTitleByCode
public TitleModel findTitleByCode(java.lang.String code)
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.
-
-