Interface TmaProductDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.Dao,de.hybris.platform.product.daos.ProductDao
- All Known Implementing Classes:
DefaultB2bTmaProductDao,DefaultTmaProductDao
public interface TmaProductDao
extends de.hybris.platform.product.daos.ProductDao
Data access object for operations related to the
ProductModel.- Since:
- 2003
-
Method Summary
Modifier and TypeMethodDescriptionReturns product offering group having corresponding code.findProductOfferingGroupsByCode(String code, CatalogVersionModel catalogVersion) Returns product offering group having corresponding code and catalog version.findProductOfferingGroupsByPattern(String property, String propertyValuePattern) Returns product group list for corresponding pattern and propertyReturns product offering having corresponding code.findProductOfferingsByCode(String code, CatalogVersionModel catalogVersion) Returns product offering having corresponding code and catalog version.findProductOfferingsByPattern(String property, String propertyValuePattern) Returns product offering list for corresponding pattern and propertyReturns the operational product corresponding to the specified action.getProductOfferings(CatalogVersionModel catalogVersion) Returns product offering list for corresponding catalog versionMethods inherited from interface de.hybris.platform.product.daos.ProductDao
findAllProductsCountByCategory, findOfflineProductsByCategory, findOnlineProductsByCategory, findProducts, findProductsByCatalogVersion, findProductsByCategory, findProductsByCode, findProductsByCode, findProductsCountByCategory
-
Method Details
-
getOperationalProductOffering
Optional<TmaOperationalProductOfferingModel> getOperationalProductOffering(TmaSubscribedProductAction action) Returns the operational product corresponding to the specified action.- Parameters:
action- the action that should be supported by the operational product.- Returns:
- The first operational product found that supports the given action; Optional.empty() otherwise.
-
findProductOfferingsByPattern
List<TmaProductOfferingModel> findProductOfferingsByPattern(String property, String propertyValuePattern) Returns product offering list for corresponding pattern and property- Parameters:
property- on the attribute which the pattern is comparedpropertyValuePattern- string to get the list ofTmaProductOfferingModel- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingGroupsByPattern
List<TmaProductOfferingGroupModel> findProductOfferingGroupsByPattern(String property, String propertyValuePattern) Returns product group list for corresponding pattern and property- Parameters:
property- on the attribute which the pattern is comparedpropertyValuePattern- string to get the list ofTmaProductOfferingGroupModel- Returns:
- List of
TmaProductOfferingGroupModel
-
getProductOfferings
Returns product offering list for corresponding catalog version- Parameters:
catalogVersion- for which product offerings will be retrieved- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingsByCode
List<TmaProductOfferingModel> findProductOfferingsByCode(String code, CatalogVersionModel catalogVersion) Returns product offering having corresponding code and catalog version.- Parameters:
code- corresponding code of the product offeringcatalogVersion- for which the product offering will be retrieved- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingsByCode
Returns product offering having corresponding code.- Parameters:
code- corresponding code of the product offering- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingGroupsByCode
List<TmaProductOfferingGroupModel> findProductOfferingGroupsByCode(String code, CatalogVersionModel catalogVersion) Returns product offering group having corresponding code and catalog version.- Parameters:
code- corresponding code of the product offering groupcatalogVersion- for which the product offering group will be retrieved- Returns:
- List of
TmaProductOfferingGroupModel
-
findProductOfferingGroupsByCode
Returns product offering group having corresponding code.- Parameters:
code- corresponding code of the product offering group- Returns:
- List of
TmaProductOfferingGroupModel
-