Class SapQualtricsSiteComponentRenderer
java.lang.Object
de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<SAPQualtricsSiteComponentModel>
de.hybris.platform.sapqualtricsaddon.renderer.SapQualtricsSiteComponentRenderer
- All Implemented Interfaces:
de.hybris.platform.acceleratorcms.component.renderer.CMSComponentRenderer<SAPQualtricsSiteComponentModel>
public class SapQualtricsSiteComponentRenderer
extends de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<SAPQualtricsSiteComponentModel>
SapQualtricsSiteComponentRenderer class fills the qualtrics configuration. Loads the all the ConsumedDestination
with DestinationTarget with ID 'qualtricsDestinationTarget'.Multiple such qualtrics configurations can be handled by the renderer.
If there are no configurations available, empty values fill be assigned to the variables. If any of the configuration values are missing,
the caller will throw IllegalArgumentException error which is handled.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVariablesToExpose(javax.servlet.jsp.PageContext pageContext, SAPQualtricsSiteComponentModel component) voidsetSapQualtricsConfigurationFacade(SapQualtricsConfigurationFacade sapQualtricsConfigurationFacade) Methods inherited from class de.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer
exposeVariables, getAddonUiExtensionName, getBean, getCmsComponentFolder, getCmsComponentService, getModelService, getRequestContextData, getScopeForVariableName, getTypeCode, getTypeService, getUIExperienceFolder, getUiExperienceService, getUiExperienceViewPrefixMap, getUnknownUiExperiencePrefix, getView, getViewResourceName, renderComponent, setCmsComponentFolder, setCmsComponentService, setModelService, setTypeService, setUiExperienceService, setUiExperienceViewPrefixMap, setUnknownUiExperiencePrefix, unExposeVariables
-
Constructor Details
-
SapQualtricsSiteComponentRenderer
public SapQualtricsSiteComponentRenderer()
-
-
Method Details
-
getVariablesToExpose
protected Map<String,Object> getVariablesToExpose(javax.servlet.jsp.PageContext pageContext, SAPQualtricsSiteComponentModel component) - Overrides:
getVariablesToExposein classde.hybris.platform.addonsupport.renderer.impl.DefaultAddOnCMSComponentRenderer<SAPQualtricsSiteComponentModel>
-
setSapQualtricsConfigurationFacade
public void setSapQualtricsConfigurationFacade(SapQualtricsConfigurationFacade sapQualtricsConfigurationFacade) - Parameters:
sapQualtricsConfigurationFacade- the sapQualtricsConfigurationFacade to set
-