Class PersonalizationBeforeViewHandler
- java.lang.Object
-
- de.hybris.platform.personalizationaddon.PersonalizationBeforeViewHandler
-
- All Implemented Interfaces:
BeforeViewHandler
public class PersonalizationBeforeViewHandler extends java.lang.Object implements BeforeViewHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERSONALIZATION_ACTIONSstatic java.lang.StringPERSONALIZATION_SEGMENTS
-
Constructor Summary
Constructors Constructor Description PersonalizationBeforeViewHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView)Called before the DispatcherServlet renders the view.protected CxStorefrontReportingStrategygetCxStorefrontReportingStrategy()protected CxScriptPropertiesSuppliergetPropertiesSupplier()voidsetCxStorefrontReportingStrategy(CxStorefrontReportingStrategy cxStorefrontReportingStrategy)voidsetPropertiesSupplier(CxScriptPropertiesSupplier propertiesSupplier)
-
-
-
Field Detail
-
PERSONALIZATION_ACTIONS
public static final java.lang.String PERSONALIZATION_ACTIONS
- See Also:
- Constant Field Values
-
PERSONALIZATION_SEGMENTS
public static final java.lang.String PERSONALIZATION_SEGMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeView
public void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) throws java.lang.ExceptionDescription copied from interface:BeforeViewHandlerCalled before the DispatcherServlet renders the view. Can expose additional model objects to the view via the given ModelAndView.- Specified by:
beforeViewin interfaceBeforeViewHandler- Parameters:
request- current HTTP requestresponse- current HTTP responsemodelAndView- theModelAndViewthat the handler returned- Throws:
java.lang.Exception- in case of errors
-
setPropertiesSupplier
public void setPropertiesSupplier(CxScriptPropertiesSupplier propertiesSupplier)
-
getPropertiesSupplier
protected CxScriptPropertiesSupplier getPropertiesSupplier()
-
getCxStorefrontReportingStrategy
protected CxStorefrontReportingStrategy getCxStorefrontReportingStrategy()
-
setCxStorefrontReportingStrategy
public void setCxStorefrontReportingStrategy(CxStorefrontReportingStrategy cxStorefrontReportingStrategy)
-
-