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 Summary
ConstructorsConstructorDescriptionDefaultPROSShoppingFareProductDao(String typecode) Instantiates a new Default PROSAPIUserDao dao. -
Method Summary
Modifier and TypeMethodDescriptiongetProductByShoppingFareReferenceAndApiUserName(String shoppingFareReference, CatalogVersionModel catalogVersion, String userName) Find Product model based on the shoppingFareReference, catalog version and api userName.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultPROSShoppingFareProductDao
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:PROSShoppingFareProductDaoFind Product model based on the shoppingFareReference, catalog version and api userName.- Specified by:
getProductByShoppingFareReferenceAndApiUserNamein interfacePROSShoppingFareProductDao- 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
-