Class SmarteditaddonCmsPageBeforeViewHandler

java.lang.Object
de.hybris.platform.smarteditaddon.interceptors.beforeview.SmarteditaddonCmsPageBeforeViewHandler
All Implemented Interfaces:
BeforeViewHandler

public class SmarteditaddonCmsPageBeforeViewHandler extends Object implements BeforeViewHandler
This handler adds an almost unaltered page uid to a class of the jsp body with the format smartedit-page-uid-
  • Constructor Details

    • SmarteditaddonCmsPageBeforeViewHandler

      public SmarteditaddonCmsPageBeforeViewHandler()
  • Method Details

    • beforeView

      public void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView)
      Description copied from interface: BeforeViewHandler
      Called before the DispatcherServlet renders the view. Can expose additional model objects to the view via the given ModelAndView.
      Specified by:
      beforeView in interface BeforeViewHandler
      Parameters:
      request - current HTTP request
      response - current HTTP response
      modelAndView - the ModelAndView that the handler returned
    • getUniqueItemIdentifierService

      protected UniqueItemIdentifierService getUniqueItemIdentifierService()
    • setUniqueItemIdentifierService

      public void setUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)