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
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.personalizationservices.occ.CxOccAttributesStrategyde.hybris.platform.servicelayer.session.impl.DefaultSessionTokenServicegetVote(javax.servlet.http.HttpServletRequest request) If the segment ID changes, the recalculate action will be added.voidsetCxOccAttributesStrategy(de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy cxOccAttributesStrategy) voidsetTokenService(de.hybris.platform.servicelayer.session.impl.DefaultSessionTokenService tokenService) Methods inherited from class de.hybris.platform.personalizationservices.occ.voters.impl.AbstractCxOccVoter
getDefaultVote, getOrder, setOrder
-
Field Details
-
PRECEDENCE
public static final int PRECEDENCE- See Also:
-
-
Constructor Details
-
SAPCxOccURLSegmentsVoter
public SAPCxOccURLSegmentsVoter()
-
-
Method Details
-
getVote
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)
-