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 Constructor Description DefaultCommercePromotionRestrictionDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> java.util.List<T>doSearch(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> resultClass)java.util.List<PromotionOrderRestrictionModel>findPromotionOrderRestriction(AbstractPromotionModel promotion)Finds all order promotion restrictions of given promotionjava.util.List<AbstractPromotionRestrictionModel>findPromotionRestriction(AbstractPromotionModel promotion)Finds all promotion restrictions of given promotion-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findPromotionRestriction
public java.util.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 java.util.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
protected <T> java.util.List<T> doSearch(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> resultClass)
-
-