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
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.SessionServicede.hybris.platform.servicelayer.session.impl.DefaultSessionTokenServiceprotected booleanvoidsetCxOccAttributesStrategy(de.hybris.platform.personalizationservices.occ.CxOccAttributesStrategy cxOccAttributesStrategy) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) voidsetTokenService(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, setOrderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.personalizationservices.occ.CxOccInterceptor
afterVoteExecution, beforeGetVote, beforeVoteExecution, shouldPersonalizeRequest
-
Field Details
-
PRECEDENCE
public static final int PRECEDENCE- See Also:
-
-
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)
-