Class DefaultGenericSearchDao<M extends ItemModel>

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<M>
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultGenericSearchDao<M>
All Implemented Interfaces:
GenericSearchDao<M>, de.hybris.platform.servicelayer.internal.dao.GenericDao<M>
Direct Known Subclasses:
DefaultTmaBpoPreConfigDao, DefaultTmaProductOfferingPriceDao, DefaultTmaProductSpecCharactersticsValueDao, DefaultTmaProductSpecificationDao, DefaultTmaSubscribedProductDao

public class DefaultGenericSearchDao<M extends ItemModel> extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<M> implements GenericSearchDao<M>
Data Access Object for retrieving models using generic searches.
Since:
6.6
  • Constructor Details

    • DefaultGenericSearchDao

      public DefaultGenericSearchDao(String typeCode)
  • Method Details

    • findUnique

      public M findUnique(Map<String,?> params)
      Description copied from interface: GenericSearchDao
      Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.
      Specified by:
      findUnique in interface GenericSearchDao<M extends ItemModel>
      Parameters:
      params - Map containing name-value pairs used for identifying the unique model
      Returns:
      model for given parameter