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 TitleModel
findTitleByCode(java.lang.String code)
Finds the title by the given code.java.util.Collection<TitleModel>
findTitles()
Finds allTitleModel
in 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:TitleDao
Finds allTitleModel
in the system.- Specified by:
findTitles
in interfaceTitleDao
- Returns:
- an empty collection if no title was found.
-
findTitleByCode
public TitleModel findTitleByCode(java.lang.String code)
Description copied from interface:TitleDao
Finds the title by the given code.- Specified by:
findTitleByCode
in interfaceTitleDao
- Parameters:
code
- the code of the title (example dr.)- Returns:
null
if noTitleModel
by the givencode
was found.
-
-