Class DefaultProductsFeaturesDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultProductsFeaturesDao
All Implemented Interfaces:
ProductsFeaturesDao, de.hybris.platform.servicelayer.internal.dao.Dao

public class DefaultProductsFeaturesDao extends de.hybris.platform.servicelayer.internal.dao.AbstractItemDao implements ProductsFeaturesDao
Default implementation of the ProductsFeaturesDao.
  • Field Summary

    Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao

    flexibleSearchService, modelService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    findProductsByVendorCompatibility(String manufacturerName, String classificationClassCode, String classificationAttributeCode)
    Returns list of compatible products based on the manufacturer name and classification details provided.

    Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao

    getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultProductsFeaturesDao

      public DefaultProductsFeaturesDao()
  • Method Details

    • findProductsByVendorCompatibility

      @Nonnull public List<ProductModel> findProductsByVendorCompatibility(String manufacturerName, String classificationClassCode, String classificationAttributeCode)
      Description copied from interface: ProductsFeaturesDao
      Returns list of compatible products based on the manufacturer name and classification details provided. The returned products have the given manufacturer name, belong to the same classification class, having the same classification attributes.
      Specified by:
      findProductsByVendorCompatibility in interface ProductsFeaturesDao
      Parameters:
      manufacturerName - name of the manufacturer of the products to be returned
      classificationClassCode - code of the classification class to which the products should belong
      classificationAttributeCode - code of the classification attribute of the class
      Returns:
      List of ProductModels which are considered compatible or empty List if no such products can be found.