Class DefaultEntitlementDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.entitlementservices.daos.impl.DefaultEntitlementDao
- All Implemented Interfaces:
EntitlementDao,Dao
Default implementation of the
EntitlementDao.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultEntitlementDao
public DefaultEntitlementDao()
-
-
Method Details
-
findEntitlementByCode
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
-