Class DefaultPROSShoppingFareProductService
java.lang.Object
de.hybris.platform.prosservices.services.impl.DefaultPROSShoppingFareProductService
- All Implemented Interfaces:
PROSShoppingFareProductService
public class DefaultPROSShoppingFareProductService
extends Object
implements PROSShoppingFareProductService
Class is responsible for providing concrete implementation of the PROSShoppingFareProductService interface. The class uses the
prosShoppingFareProductDao class to query the database and return ShoppingFareProduct type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProductByShoppingFareReferenceAndApiUserName(String shoppingFareReference, CatalogVersionModel catalogVersion, String userName) Find Product model based on the shoppingFareReference, catalog version and api userName.protected PROSShoppingFareProductDaoReturns the prosShoppingFareProductDaovoidsetProsShoppingFareProductDao(PROSShoppingFareProductDao prosShoppingFareProductDao) Sets the prosShoppingFareProductDao
-
Constructor Details
-
DefaultPROSShoppingFareProductService
public DefaultPROSShoppingFareProductService()
-
-
Method Details
-
getProductByShoppingFareReferenceAndApiUserName
public ShoppingFareProductModel getProductByShoppingFareReferenceAndApiUserName(String shoppingFareReference, CatalogVersionModel catalogVersion, String userName) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException Description copied from interface:PROSShoppingFareProductServiceFind Product model based on the shoppingFareReference, catalog version and api userName.- Specified by:
getProductByShoppingFareReferenceAndApiUserNamein interfacePROSShoppingFareProductService- Parameters:
shoppingFareReference- the shoppingFareReferencecatalogVersion- the catalog versionuserName- the api username- Returns:
- the APIUser
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exception
-
getProsShoppingFareProductDao
Returns the prosShoppingFareProductDao- Returns:
-
setProsShoppingFareProductDao
Sets the prosShoppingFareProductDao- Parameters:
prosShoppingFareProductDao-
-