Class DefaultEntitlementDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.entitlementservices.daos.impl.DefaultEntitlementDao
-
- All Implemented Interfaces:
EntitlementDao,Dao
public class DefaultEntitlementDao extends AbstractItemDao implements EntitlementDao
Default implementation of theEntitlementDao.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultEntitlementDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntitlementModelfindEntitlementByCode(java.lang.String id)Finds theEntitlementModelfor the given code.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findEntitlementByCode
public EntitlementModel findEntitlementByCode(java.lang.String id) throws ModelNotFoundException
Description copied from interface:EntitlementDaoFinds theEntitlementModelfor the given code.- Specified by:
findEntitlementByCodein interfaceEntitlementDao- Parameters:
id- the id of theEntitlementModel.- Returns:
EntitlementModelif the givencodewas found- Throws:
ModelNotFoundException- if nothing was found
-
-