Interface TmaProductUsageSpecService
- All Known Implementing Classes:
DefaultTmaProductUsageSpecService
public interface TmaProductUsageSpecService
Service responsible for handling
TmaProductUsageSpecificationModel related operations.- Since:
- 2011
-
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.
-
Method Details
-
getProdUsageSpecificationsFor
Set<TmaProductUsageSpecificationModel> getProdUsageSpecificationsFor(TmaProductOfferingModel productOffering) Retrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingModel. In case the offering is aTmaBundledProductOfferingModelit will consider theTmaProductUsageSpecificationModelattached on children- Parameters:
productOffering- the offering.- Returns:
- the product usage specifications found on the offering.
-
getProdUsageSpecificationsFor
Set<TmaProductUsageSpecificationModel> getProdUsageSpecificationsFor(TmaProductOfferingPriceModel productOfferingPrice) Retrieves all theTmaCompositeProductUsageSpecModels (including children) andTmaAtomicProductUsageSpecModels of aTmaProductOfferingPriceModel.- Parameters:
productOfferingPrice- the product offering price.- Returns:
- the product usage specifications found on the offering.
-
getOfferingWithMinimumProductUsageSpecsSize
TmaProductOfferingModel getOfferingWithMinimumProductUsageSpecsSize(Set<TmaProductOfferingModel> productOfferings) Retrieves theTmaProductOfferingModelwith the smallest set ofTmaProductUsageSpecificationModels.- Parameters:
productOfferings- the product offerings- Returns:
- the reference product offering.
-