public class BundleTemplatePopulator<SOURCE extends BundleTemplateModel,TARGET extends BundleTemplateData> extends java.lang.Object implements Populator<SOURCE,TARGET>
BundleTemplateModel as source and BundleTemplateData as target type.| Constructor and Description |
|---|
BundleTemplatePopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected BundleTemplateService |
getBundleTemplateService() |
protected java.lang.String |
getFullPath(SOURCE component) |
protected int |
getMaxNoOfProductsAllowed(BundleTemplateModel bundleTemplate)
Helper method to find maximum possible product selections for the given BundleTemplate based on Selection
criteria.
|
void |
populate(SOURCE source,
TARGET target)
Populate the target instance with values from the source instance.
|
void |
setBundleTemplateService(BundleTemplateService bundleTemplateService) |
public void populate(SOURCE source, TARGET target)
Populatorpopulate in interface Populator<SOURCE extends BundleTemplateModel,TARGET extends BundleTemplateData>source - the source objecttarget - the target to fillprotected int getMaxNoOfProductsAllowed(BundleTemplateModel bundleTemplate)
bundleTemplate - protected java.lang.String getFullPath(SOURCE component)
protected BundleTemplateService getBundleTemplateService()
public void setBundleTemplateService(BundleTemplateService bundleTemplateService)
Copyright © 2018 SAP SE. All Rights Reserved.