Class DefaultTmaProductUsageSpecService
java.lang.Object
de.hybris.platform.b2ctelcoservices.services.impl.DefaultTmaProductUsageSpecService
- All Implemented Interfaces:
TmaProductUsageSpecService
Default implementation of
TmaProductUsageSpecService- Since:
- 2011
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOfferingWithMinimumProductUsageSpecsSize(Set<TmaProductOfferingModel> productOfferings) Retrieves theTmaProductOfferingModelwith the smallest set ofTmaProductUsageSpecificationModels.getProdUsageSpecificationsFor(TmaProductOfferingModel productOffering) Retrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingModel.getProdUsageSpecificationsFor(TmaProductOfferingPriceModel productOfferingPrice) Retrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingPriceModel.
-
Constructor Details
-
DefaultTmaProductUsageSpecService
public DefaultTmaProductUsageSpecService()
-
-
Method Details
-
getProdUsageSpecificationsFor
public Set<TmaProductUsageSpecificationModel> getProdUsageSpecificationsFor(TmaProductOfferingModel productOffering) Description copied from interface:TmaProductUsageSpecServiceRetrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingModel. In case the offering is aTmaBundledProductOfferingModelit will consider theTmaProductUsageSpecificationModelattached on children- Specified by:
getProdUsageSpecificationsForin interfaceTmaProductUsageSpecService- Parameters:
productOffering- the offering.- Returns:
- the product usage specifications found on the offering.
-
getProdUsageSpecificationsFor
public Set<TmaProductUsageSpecificationModel> getProdUsageSpecificationsFor(TmaProductOfferingPriceModel productOfferingPrice) Description copied from interface:TmaProductUsageSpecServiceRetrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingPriceModel.- Specified by:
getProdUsageSpecificationsForin interfaceTmaProductUsageSpecService- Parameters:
productOfferingPrice- the product offering price.- Returns:
- the product usage specifications found on the offering.
-
getOfferingWithMinimumProductUsageSpecsSize
public TmaProductOfferingModel getOfferingWithMinimumProductUsageSpecsSize(Set<TmaProductOfferingModel> productOfferings) Description copied from interface:TmaProductUsageSpecServiceRetrieves theTmaProductOfferingModelwith the smallest set ofTmaProductUsageSpecificationModels.- Specified by:
getOfferingWithMinimumProductUsageSpecsSizein interfaceTmaProductUsageSpecService- Parameters:
productOfferings- the product offerings- Returns:
- the reference product offering.
-