Class DefaultPROSShoppingFareProductDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<ShoppingFareProductModel>
de.hybris.platform.prosservices.dao.impl.DefaultPROSShoppingFareProductDao
All Implemented Interfaces:
PROSShoppingFareProductDao, de.hybris.platform.servicelayer.internal.dao.Dao, de.hybris.platform.servicelayer.internal.dao.GenericDao<ShoppingFareProductModel>

public class DefaultPROSShoppingFareProductDao extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<ShoppingFareProductModel> implements PROSShoppingFareProductDao
Class is responsible for providing concrete implementation of the PROSShoppingFareProductDao interface. The class uses the flexibleSearchService to query the database and return ShoppingFareProduct type.
  • Constructor Details

    • DefaultPROSShoppingFareProductDao

      public DefaultPROSShoppingFareProductDao(String typecode)
      Instantiates a new Default PROSAPIUserDao dao.
      Parameters:
      typecode - the typecode
  • Method Details

    • getProductByShoppingFareReferenceAndApiUserName

      public ShoppingFareProductModel getProductByShoppingFareReferenceAndApiUserName(String shoppingFareReference, CatalogVersionModel catalogVersion, String userName) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Description copied from interface: PROSShoppingFareProductDao
      Find Product model based on the shoppingFareReference, catalog version and api userName.
      Specified by:
      getProductByShoppingFareReferenceAndApiUserName in interface PROSShoppingFareProductDao
      Parameters:
      shoppingFareReference - the shoppingFareReference
      catalogVersion - the catalog version
      userName - the api username
      Returns:
      the APIUser
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception