Class DefaultGenericSearchDao<M extends ItemModel>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      M findUnique​(java.util.Map<java.lang.String,​? extends java.lang.Object> params)
      Searches for a unique model based on given parameters.
      • Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao

        find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
      • Methods inherited from class java.lang.Object

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

      • DefaultGenericSearchDao

        public DefaultGenericSearchDao​(java.lang.String typeCode)
    • Method Detail

      • findUnique

        public M findUnique​(java.util.Map<java.lang.String,​? extends java.lang.Object> 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