Class DefaultDeliveryModeDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.order.daos.impl.DefaultDeliveryModeDao
-
- All Implemented Interfaces:
DeliveryModeDao,Dao
public class DefaultDeliveryModeDao extends AbstractItemDao implements DeliveryModeDao
Default implementation of theDeliveryModeDao.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultDeliveryModeDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<DeliveryModeModel>findAllDeliveryModes()Finds allDeliveryModeModels.java.util.Collection<DeliveryModeModel>findDeliveryModeByPaymentMode(PaymentModeModel paymentMode)Finds allDeliveryModeModels supported by givenPaymentModeModel.java.util.List<DeliveryModeModel>findDeliveryModesByCode(java.lang.String code)Finds theDeliveryModeModels with the specified 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
-
findDeliveryModesByCode
public java.util.List<DeliveryModeModel> findDeliveryModesByCode(java.lang.String code)
Description copied from interface:DeliveryModeDaoFinds theDeliveryModeModels with the specified code.- Specified by:
findDeliveryModesByCodein interfaceDeliveryModeDao- Parameters:
code- the delivery mode code- Returns:
- the found
DeliveryModeModels with the specified code, or empty list if not found.
-
findAllDeliveryModes
public java.util.Collection<DeliveryModeModel> findAllDeliveryModes()
Description copied from interface:DeliveryModeDaoFinds allDeliveryModeModels.- Specified by:
findAllDeliveryModesin interfaceDeliveryModeDao- Returns:
- a
Collectionof allDeliveryModeModels, or empty list if not found.
-
findDeliveryModeByPaymentMode
public java.util.Collection<DeliveryModeModel> findDeliveryModeByPaymentMode(PaymentModeModel paymentMode)
Description copied from interface:DeliveryModeDaoFinds allDeliveryModeModels supported by givenPaymentModeModel.- Specified by:
findDeliveryModeByPaymentModein interfaceDeliveryModeDao- Parameters:
paymentMode- the payment mode- Returns:
- a
Collectionof supportedDeliveryModeModels, or empty list if not found.
-
-