Class DefaultTmaGenericItemDao

java.lang.Object
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultTmaGenericItemDao
All Implemented Interfaces:
TmaGenericItemDao

public class DefaultTmaGenericItemDao extends Object implements TmaGenericItemDao
Default implementation of TmaGenericItemDao
Since:
2202
  • Constructor Details

    • DefaultTmaGenericItemDao

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

    • getItem

      public ItemModel getItem(String typeCode, String id)
      Description copied from interface: TmaGenericItemDao
      Retrieves an item model of a specific typeCode with the given id
      Specified by:
      getItem in interface TmaGenericItemDao
      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: TmaGenericItemDao
      Retrieves an item model of a specific typeCode with the given parameters
      Specified by:
      getItem in interface TmaGenericItemDao
      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()