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>
public class SearchResultSubscriptionProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>
extends Object
implements Populator<SOURCE,TARGET>
SOLR Populator for subscription-capable
ProductModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProductServiceprotected Populator<ProductModel,ProductData> protected SubscriptionProductServiceprotected <T> TvoidPopulate 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)
-
Constructor Details
-
SearchResultSubscriptionProductPopulator
public SearchResultSubscriptionProductPopulator()
-
-
Method Details
-
populate
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
-
getProductService
-
setProductService
-
getSubscriptionPricePlanPopulator
-
setSubscriptionPricePlanPopulator
public void setSubscriptionPricePlanPopulator(Populator<ProductModel, ProductData> subscriptionPricePlanPopulator) -
getTermOfServiceRenewalConverter
protected Converter<TermOfServiceRenewal,TermOfServiceRenewalData> getTermOfServiceRenewalConverter() -
setTermOfServiceRenewalConverter
public void setTermOfServiceRenewalConverter(Converter<TermOfServiceRenewal, TermOfServiceRenewalData> termOfServiceRenewalConverter) -
getSubscriptionProductService
- Returns:
- subscription product service.
-
setSubscriptionProductService
-