Class SecurePortalBeforeViewHandler

java.lang.Object
de.hybris.platform.b2bacceleratoraddon.interceptors.SecurePortalBeforeViewHandler
All Implemented Interfaces:
BeforeViewHandler

public class SecurePortalBeforeViewHandler extends Object implements BeforeViewHandler
Implementation of BeforeViewHandler.
  • Field Details

  • Constructor Details

    • SecurePortalBeforeViewHandler

      public SecurePortalBeforeViewHandler()
  • Method Details

    • setSpViewMap

      public void setSpViewMap(Map<String,Map<String,String>> spViewMap)
    • setPageTitleResolver

      public void setPageTitleResolver(PageTitleResolver pageTitleResolver)
    • setCmsPageService

      public void setCmsPageService(CMSPageService cmsPageService)
    • setCmsSiteService

      public void setCmsSiteService(CMSSiteService cmsSiteService)
    • isSiteSecured

      protected boolean isSiteSecured()
    • beforeView

      public void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception
      Adds model flag to switch registration link in the Login View
      Specified by:
      beforeView in interface BeforeViewHandler
      Parameters:
      request - current HTTP request
      response - current HTTP response
      modelAndView - the ModelAndView that the handler returned
      Throws:
      Exception - in case of errors
    • replaceSideContentSlotComponents

      protected void replaceSideContentSlotComponents(ContentPageModel contentPageModel, org.springframework.ui.ModelMap model)
    • getContentSlotsForPageAsMap

      protected Map<String,ContentSlotModel> getContentSlotsForPageAsMap(AbstractPageModel page)
    • replaceModelMetaData

      protected void replaceModelMetaData(org.springframework.ui.ModelMap model, String metaKeywords, String metaDescription)
    • createMetaElement

      protected MetaElementData createMetaElement(String name, String content)