Class SecurePortalBeforeViewHandler
java.lang.Object
de.hybris.platform.b2bacceleratoraddon.interceptors.SecurePortalBeforeViewHandler
- All Implemented Interfaces:
BeforeViewHandler
Implementation of BeforeViewHandler.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) Adds model flag to switch registration link in the Login Viewprotected MetaElementDatacreateMetaElement(String name, String content) protected Map<String,ContentSlotModel> protected booleanprotected voidreplaceModelMetaData(org.springframework.ui.ModelMap model, String metaKeywords, String metaDescription) protected voidreplaceSideContentSlotComponents(ContentPageModel contentPageModel, org.springframework.ui.ModelMap model) voidsetCmsPageService(CMSPageService cmsPageService) voidsetCmsSiteService(CMSSiteService cmsSiteService) voidsetPageTitleResolver(PageTitleResolver pageTitleResolver) void
-
Field Details
-
VIEW_NAME_MAP_KEY
- See Also:
-
CMS_PAGE_ID_MAP_KEY
- See Also:
-
SLOTS_MAP_KEY
- See Also:
-
-
Constructor Details
-
SecurePortalBeforeViewHandler
public SecurePortalBeforeViewHandler()
-
-
Method Details
-
setSpViewMap
-
setPageTitleResolver
-
setCmsPageService
-
setCmsSiteService
-
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:
beforeViewin interfaceBeforeViewHandler- Parameters:
request- current HTTP requestresponse- current HTTP responsemodelAndView- theModelAndViewthat the handler returned- Throws:
Exception- in case of errors
-
replaceSideContentSlotComponents
protected void replaceSideContentSlotComponents(ContentPageModel contentPageModel, org.springframework.ui.ModelMap model) -
getContentSlotsForPageAsMap
-
replaceModelMetaData
-
createMetaElement
-