Class SAPCxOccSegmentIDsInterceptor

java.lang.Object
de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
com.sap.sapsegmentationservices.occ.interceptor.SAPCxOccSegmentIDsInterceptor
All Implemented Interfaces:
de.hybris.platform.personalizationservices.occ.CxOccInterceptor, org.springframework.core.Ordered, org.springframework.integration.context.Orderable

public class SAPCxOccSegmentIDsInterceptor extends de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
CX OCC Interceptor to add an action for URL Segment IDs
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy
     
    de.hybris.platform.servicelayer.session.SessionService
     
    de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService
     
    protected boolean
     
    void
    setCxOccAttributesStrategy(de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy cxOccAttributesStrategy)
     
    void
    setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
     
    void
    setTokenService(de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService tokenService)
     
    shouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request)
    Handles personalization when the URL segment ID changes or when the existing one is empty.

    Methods inherited from class de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor

    getDefaultVote, getOrder, setOrder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.hybris.platform.personalizationservices.occ.CxOccInterceptor

    afterVoteExecution, beforeGetVote, beforeVoteExecution, shouldPersonalizeRequest
  • Field Details

  • Constructor Details

    • SAPCxOccSegmentIDsInterceptor

      public SAPCxOccSegmentIDsInterceptor()
  • Method Details

    • shouldPersonalizeRequestVote

      public CxOccInterceptorVote shouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request)
      Handles personalization when the URL segment ID changes or when the existing one is empty.
    • isEnabled

      protected boolean isEnabled()
    • getSessionService

      public de.hybris.platform.servicelayer.session.SessionService getSessionService()
    • setSessionService

      public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
    • getTokenService

      public de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService getTokenService()
    • setTokenService

      public void setTokenService(de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService tokenService)
    • getCxOccAttributesStrategy

      public de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy getCxOccAttributesStrategy()
    • setCxOccAttributesStrategy

      public void setCxOccAttributesStrategy(de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy cxOccAttributesStrategy)