Class DefaultSpiGenericDao

java.lang.Object
de.hybris.platform.subscribedproductservices.daos.impl.DefaultSpiGenericDao
All Implemented Interfaces:
SpiGenericDao

public class DefaultSpiGenericDao extends Object implements SpiGenericDao
Default implementation of SpiGenericDao
Since:
2111
  • Constructor Details

    • DefaultSpiGenericDao

      public DefaultSpiGenericDao(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
  • Method Details

    • getItem

      public ItemModel getItem(String typeCode, String id)
      Description copied from interface: SpiGenericDao
      Retrieves an item model of a specific typeCode with the given id
      Specified by:
      getItem in interface SpiGenericDao
      Parameters:
      typeCode - the typeCode of the model
      id - the id
      Returns:
      the model found, null otherwise
    • getItem

      public ItemModel getItem(String typeCode, Map<String,String> params)
      Description copied from interface: SpiGenericDao
      Retrieves an item model of a specific typeCode with the given parameters
      Specified by:
      getItem in interface SpiGenericDao
      Parameters:
      typeCode - the typeCode of the model
      params - the key-value pairs to filter the response
      Returns:
      the model found, null otherwise
    • getFlexibleSearchService

      protected de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()