Class DefaultCommercePromotionRestrictionDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.commerceservices.promotion.dao.impl.DefaultCommercePromotionRestrictionDao
- All Implemented Interfaces:
CommercePromotionRestrictionDao,Dao
public class DefaultCommercePromotionRestrictionDao
extends AbstractItemDao
implements CommercePromotionRestrictionDao
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> List<T>Finds all order promotion restrictions of given promotionfindPromotionRestriction(AbstractPromotionModel promotion) Finds all promotion restrictions of given promotionMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultCommercePromotionRestrictionDao
public DefaultCommercePromotionRestrictionDao()
-
-
Method Details
-
findPromotionRestriction
public List<AbstractPromotionRestrictionModel> findPromotionRestriction(AbstractPromotionModel promotion) Description copied from interface:CommercePromotionRestrictionDaoFinds all promotion restrictions of given promotion- Specified by:
findPromotionRestrictionin interfaceCommercePromotionRestrictionDao- Parameters:
promotion- promotion model- Returns:
- list of
AbstractPromotionRestrictionModel
-
findPromotionOrderRestriction
public List<PromotionOrderRestrictionModel> findPromotionOrderRestriction(AbstractPromotionModel promotion) Description copied from interface:CommercePromotionRestrictionDaoFinds all order promotion restrictions of given promotion- Specified by:
findPromotionOrderRestrictionin interfaceCommercePromotionRestrictionDao- Parameters:
promotion- promotion model- Returns:
- list of
PromotionOrderRestrictionModel
-
doSearch
-