Class DefaultTmaPscvService
java.lang.Object
de.hybris.platform.b2ctelcoservices.services.impl.DefaultTmaPscvService
- All Implemented Interfaces:
TmaPscvService
Default implementation of
TmaPscvService.- Since:
- 2011
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultTmaPscvService
public DefaultTmaPscvService()
-
-
Method Details
-
getPscvsUsedFor
public Set<TmaProductSpecCharacteristicValueModel> getPscvsUsedFor(TmaProductOfferingModel productOffering) Description copied from interface:TmaPscvServiceRetrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingModel. In case the offering is aTmaBundledProductOfferingModelit will consider the PSCVs attached on children.- Specified by:
getPscvsUsedForin interfaceTmaPscvService- Parameters:
productOffering- the offering.- Returns:
- the PSCVs found on the offering.
-
getPscvsUsedFor
public Set<TmaProductSpecCharacteristicValueModel> getPscvsUsedFor(TmaProductOfferingPriceModel productOfferingPrice) Description copied from interface:TmaPscvServiceRetrieves all theTmaProductSpecCharacteristicValueModels of aTmaProductOfferingPriceModel.- Specified by:
getPscvsUsedForin interfaceTmaPscvService- Parameters:
productOfferingPrice- the product offering price.- Returns:
- the PSCVs found on the product offering price.
-
getCommonPscvsFor
public Set<TmaProductSpecCharacteristicValueModel> getCommonPscvsFor(Set<TmaProductOfferingModel> productOfferings) Description copied from interface:TmaPscvServiceReturns the commonTmaProductSpecCharacteristicValueModels for a set ofTmaProductOfferingModels- Specified by:
getCommonPscvsForin interfaceTmaPscvService- Parameters:
productOfferings- the product offerings- Returns:
- A set of common
TmaProductSpecCharacteristicValueModels for the given offerings; empty set otherwise
-