Class PreviewTicketCxOccInterceptor

java.lang.Object
de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
de.hybris.platform.personalizationcms.interceptors.impl.PreviewTicketCxOccInterceptor
All Implemented Interfaces:
CxOccInterceptor, org.springframework.core.Ordered, org.springframework.integration.context.Orderable

public class PreviewTicketCxOccInterceptor extends AbstractCxOccInterceptor
Extension of AbstractCxOccInterceptor that votes with conclusive vote if preview ticket is in the request.
  • Field Details

  • Constructor Details

    • PreviewTicketCxOccInterceptor

      public PreviewTicketCxOccInterceptor()
  • Method Details

    • shouldPersonalizeRequestVote

      public CxOccInterceptorVote shouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request)
      Description copied from interface: CxOccInterceptor
      Method to determine if personalization process should be executed for this request
      Parameters:
      request - Http request
      Returns:
      CxOccInterceptorVote - vote with information if personalization process should be continued
    • isEnabled

      protected boolean isEnabled()
    • getSessionService

      protected SessionService getSessionService()
    • setSessionService

      public void setSessionService(SessionService sessionService)