Interface TmaPscvService
- All Known Implementing Classes:
DefaultTmaPscvService
public interface TmaPscvService
Service responsible for handling
TmaProductSpecCharacteristicValueModel related operations.- Since:
- 2011
-
Method Summary
Modifier and TypeMethodDescriptiongetCommonPscvsFor(Set<TmaProductOfferingModel> productOfferings) Returns the commonTmaProductSpecCharacteristicValueModels for a set ofTmaProductOfferingModelsgetPscvsUsedFor(TmaProductOfferingModel productOffering) Retrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingModel.getPscvsUsedFor(TmaProductOfferingPriceModel productOfferingPrice) Retrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingPriceModel.
-
Method Details
-
getPscvsUsedFor
Set<TmaProductSpecCharacteristicValueModel> getPscvsUsedFor(TmaProductOfferingModel productOffering) Retrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingModel. In case the offering is aTmaBundledProductOfferingModelit will consider the PSCVs attached on children.- Parameters:
productOffering- the offering.- Returns:
- the PSCVs found on the offering.
-
getPscvsUsedFor
Set<TmaProductSpecCharacteristicValueModel> getPscvsUsedFor(TmaProductOfferingPriceModel productOfferingPrice) Retrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingPriceModel.- Parameters:
productOfferingPrice- the product offering price.- Returns:
- the PSCVs found on the product offering price.
-
getCommonPscvsFor
Set<TmaProductSpecCharacteristicValueModel> getCommonPscvsFor(Set<TmaProductOfferingModel> productOfferings) Returns the commonTmaProductSpecCharacteristicValueModels for a set ofTmaProductOfferingModels- Parameters:
productOfferings- the product offerings- Returns:
- A set of common
TmaProductSpecCharacteristicValueModels for the given offerings; empty set otherwise
-