Class SAPCxOccURLSegmentsVoter

java.lang.Object
de.hybris.platform.personalizationservices.occ.voters.impl.AbstractCxOccVoter
com.sap.sapsegmentationservices.occ.voter.SAPCxOccURLSegmentsVoter
All Implemented Interfaces:
de.hybris.platform.personalizationservices.occ.voters.CxOccVoter, org.springframework.core.Ordered, org.springframework.integration.context.Orderable

public class SAPCxOccURLSegmentsVoter extends de.hybris.platform.personalizationservices.occ.voters.impl.AbstractCxOccVoter
Voter to add calculation actions based on URL Segments
  • 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.impl.DefaultSessionTokenService
     
    getVote(javax.servlet.http.HttpServletRequest request)
    If the segment ID changes, the recalculate action will be added.
    void
    setCxOccAttributesStrategy(de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy cxOccAttributesStrategy)
     
    void
    setTokenService(de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService tokenService)
     

    Methods inherited from class de.hybris.platform.personalizationservices.occ.voters.impl.AbstractCxOccVoter

    getDefaultVote, getOrder, setOrder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SAPCxOccURLSegmentsVoter

      public SAPCxOccURLSegmentsVoter()
  • Method Details

    • getVote

      public Vote getVote(javax.servlet.http.HttpServletRequest request)
      If the segment ID changes, the recalculate action will be added.
    • getCxOccAttributesStrategy

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

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

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

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