Class DefaultCxOccInterceptor

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

public class DefaultCxOccInterceptor extends AbstractCxOccInterceptor
  • Field Details

  • Constructor Details

    • DefaultCxOccInterceptor

      public DefaultCxOccInterceptor()
  • Method Details

    • shouldPersonalizeRequest

      @Deprecated(since="1905", forRemoval=true) public boolean shouldPersonalizeRequest(javax.servlet.http.HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905. Please use CxOccInterceptor#shouldPersonalizeRequestVote(HttpServletRequest) instead.
      Description copied from interface: CxOccInterceptor
      Method to determine if personalization process should be executed for this request
      Parameters:
      request - Http request
      Returns:
      true - when personalization process should be continued
      false - when personalization process should be omitted
    • 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
    • afterVoteExecution

      public void afterVoteExecution(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Vote vote)
      Description copied from interface: CxOccInterceptor
      Method called after final vote execution
      Parameters:
      request - Http request
      response - Http response
      vote - final vote which was executed
    • isRecalculationAction

      protected boolean isRecalculationAction(RecalculateAction a)
    • getCxConsentService

      protected CxConsentService getCxConsentService()
    • setCxConsentService

      public void setCxConsentService(CxConsentService cxConsentService)
    • getUserService

      protected UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getCxOccAttributesStrategy

      protected CxOccAttributesStrategy getCxOccAttributesStrategy()
    • setCxOccAttributesStrategy

      public void setCxOccAttributesStrategy(CxOccAttributesStrategy cxOccAttributesStrategy)