Class DefaultTmaProductDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<ProductModel>
de.hybris.platform.product.daos.impl.DefaultProductDao
de.hybris.platform.b2ctelcoservices.daos.impl.DefaultTmaProductDao
- All Implemented Interfaces:
TmaProductDao,de.hybris.platform.product.daos.ProductDao,de.hybris.platform.servicelayer.internal.dao.Dao,de.hybris.platform.servicelayer.internal.dao.GenericDao<ProductModel>
- Direct Known Subclasses:
DefaultB2bTmaProductDao
public class DefaultTmaProductDao
extends de.hybris.platform.product.daos.impl.DefaultProductDao
implements TmaProductDao
Default implementation of
TmaProductDao.- Since:
- 2003.
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 class de.hybris.platform.product.daos.impl.DefaultProductDao
findAllProductsCountByCategory, findOfflineProductsByCategory, findOnlineProductsByCategory, findProducts, findProductsByCatalogVersion, findProductsByCategory, findProductsByCode, findProductsByCode, findProductsCountByCategoryMethods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.product.daos.ProductDao
findAllProductsCountByCategory, findOfflineProductsByCategory, findOnlineProductsByCategory, findProducts, findProductsByCatalogVersion, findProductsByCategory, findProductsByCode, findProductsByCode, findProductsCountByCategory
-
Field Details
-
PRODUCT_OFFERING_QUERY
- See Also:
-
PRODUCT_OFFERING_CODE_QUERY
- See Also:
-
PRODUCT_OFFERING_CODE_CATALOG_QUERY
- See Also:
-
PRODUCT_OFFERING_GROUP_CODE_QUERY
- See Also:
-
PRODUCT_OFFERING_GROUP_CODE_CATALOG_QUERY
- See Also:
-
-
Constructor Details
-
DefaultTmaProductDao
-
-
Method Details
-
getOperationalProductOffering
public Optional<TmaOperationalProductOfferingModel> getOperationalProductOffering(TmaSubscribedProductAction action) Description copied from interface:TmaProductDaoReturns the operational product corresponding to the specified action.- Specified by:
getOperationalProductOfferingin interfaceTmaProductDao- 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
public List<TmaProductOfferingModel> findProductOfferingsByPattern(String property, String propertyValuePattern) Description copied from interface:TmaProductDaoReturns product offering list for corresponding pattern and property- Specified by:
findProductOfferingsByPatternin interfaceTmaProductDao- Parameters:
property- on the attribute which the pattern is comparedpropertyValuePattern- string to get the list ofTmaProductOfferingModel- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingGroupsByPattern
public List<TmaProductOfferingGroupModel> findProductOfferingGroupsByPattern(String property, String propertyValuePattern) Description copied from interface:TmaProductDaoReturns product group list for corresponding pattern and property- Specified by:
findProductOfferingGroupsByPatternin interfaceTmaProductDao- Parameters:
property- on the attribute which the pattern is comparedpropertyValuePattern- string to get the list ofTmaProductOfferingGroupModel- Returns:
- List of
TmaProductOfferingGroupModel
-
getProductOfferings
Description copied from interface:TmaProductDaoReturns product offering list for corresponding catalog version- Specified by:
getProductOfferingsin interfaceTmaProductDao- Parameters:
catalogVersion- for which product offerings will be retrieved- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingsByCode
public List<TmaProductOfferingModel> findProductOfferingsByCode(String code, CatalogVersionModel catalogVersion) Description copied from interface:TmaProductDaoReturns product offering having corresponding code and catalog version.- Specified by:
findProductOfferingsByCodein interfaceTmaProductDao- Parameters:
code- corresponding code of the product offeringcatalogVersion- for which the product offering will be retrieved- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingsByCode
Description copied from interface:TmaProductDaoReturns product offering having corresponding code.- Specified by:
findProductOfferingsByCodein interfaceTmaProductDao- Parameters:
code- corresponding code of the product offering- Returns:
- List of
TmaProductOfferingModel
-
findProductOfferingGroupsByCode
public List<TmaProductOfferingGroupModel> findProductOfferingGroupsByCode(String code, CatalogVersionModel catalogVersion) Description copied from interface:TmaProductDaoReturns product offering group having corresponding code and catalog version.- Specified by:
findProductOfferingGroupsByCodein interfaceTmaProductDao- Parameters:
code- corresponding code of the product offering groupcatalogVersion- for which the product offering group will be retrieved- Returns:
- List of
TmaProductOfferingGroupModel
-
findProductOfferingGroupsByCode
Description copied from interface:TmaProductDaoReturns product offering group having corresponding code.- Specified by:
findProductOfferingGroupsByCodein interfaceTmaProductDao- Parameters:
code- corresponding code of the product offering group- Returns:
- List of
TmaProductOfferingGroupModel
-