Class CdsCxOccInterceptor

  • All Implemented Interfaces:
    CxOccInterceptor, org.springframework.core.Ordered, org.springframework.integration.context.Orderable

    public class CdsCxOccInterceptor
    extends AbstractCxOccInterceptor
    Interceptor for personalization process called in Commerce Web Services (OCC) which set attributes needed by CDS
    • Constructor Detail

      • CdsCxOccInterceptor

        public CdsCxOccInterceptor()
    • Method Detail

      • beforeVoteExecution

        public void beforeVoteExecution​(javax.servlet.http.HttpServletRequest request,
                                        Vote vote)
        Description copied from interface: CxOccInterceptor
        Method called before final vote will be executed
        Parameters:
        request - Http request
        vote - Final vote which will be executed
      • getConsentGivenValue

        protected boolean getConsentGivenValue​(javax.servlet.http.HttpServletRequest request)
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • setSessionService

        public void setSessionService​(SessionService sessionService)
      • setConsentService

        public void setConsentService​(ConsentService consentService)