Class SearchResultSubscriptionProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>
- java.lang.Object
-
- de.hybris.platform.subscriptionfacades.converters.populator.SearchResultSubscriptionProductPopulator<SOURCE,TARGET>
-
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
SapRevenueCloudSearchResultsSubscriptionProductPopulator
public class SearchResultSubscriptionProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData> extends java.lang.Object implements Populator<SOURCE,TARGET>
SOLR Populator for subscription-capableProductModel.
-
-
Constructor Summary
Constructors Constructor Description SearchResultSubscriptionProductPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProductServicegetProductService()protected Populator<ProductModel,ProductData>getSubscriptionPricePlanPopulator()protected SubscriptionProductServicegetSubscriptionProductService()protected Converter<TermOfServiceRenewal,TermOfServiceRenewalData>getTermOfServiceRenewalConverter()protected <T> TgetValue(SOURCE source, java.lang.String propertyName)voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetProductService(ProductService productService)voidsetSubscriptionPricePlanPopulator(Populator<ProductModel,ProductData> subscriptionPricePlanPopulator)voidsetSubscriptionProductService(SubscriptionProductService subscriptionProductService)voidsetTermOfServiceRenewalConverter(Converter<TermOfServiceRenewal,TermOfServiceRenewalData> termOfServiceRenewalConverter)
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>- Parameters:
source- the source objecttarget- the target to fill
-
getValue
protected <T> T getValue(SOURCE source, java.lang.String propertyName)
-
getProductService
protected ProductService getProductService()
-
setProductService
public void setProductService(ProductService productService)
-
getSubscriptionPricePlanPopulator
protected Populator<ProductModel,ProductData> getSubscriptionPricePlanPopulator()
-
setSubscriptionPricePlanPopulator
public void setSubscriptionPricePlanPopulator(Populator<ProductModel,ProductData> subscriptionPricePlanPopulator)
-
getTermOfServiceRenewalConverter
protected Converter<TermOfServiceRenewal,TermOfServiceRenewalData> getTermOfServiceRenewalConverter()
-
setTermOfServiceRenewalConverter
public void setTermOfServiceRenewalConverter(Converter<TermOfServiceRenewal,TermOfServiceRenewalData> termOfServiceRenewalConverter)
-
getSubscriptionProductService
protected SubscriptionProductService getSubscriptionProductService()
- Returns:
- subscription product service.
-
setSubscriptionProductService
public void setSubscriptionProductService(SubscriptionProductService subscriptionProductService)
-
-