Class DefaultTuaGenericDao

java.lang.Object
de.hybris.platform.tuadatamodel.daos.impl.DefaultTuaGenericDao
All Implemented Interfaces:
TuaGenericDao

public class DefaultTuaGenericDao extends Object implements TuaGenericDao
Default implementation of TuaGenericDao
Since:
2208
  • Constructor Details

    • DefaultTuaGenericDao

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

    • getItem

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

      public ItemModel findItem(String typeCode, String id)
      Description copied from interface: TuaGenericDao
      Finds an item model of a specific typeCode with the given id
      Specified by:
      findItem in interface TuaGenericDao
      Parameters:
      typeCode - the typeCode of the model
      id - the id
      Returns:
      the model found, otherwise throws ModelNotFoundException
    • findItem

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

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