Class CdsCxOccInterceptor
- java.lang.Object
-
- de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
-
- de.hybris.platform.personalizationyprofile.occ.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
-
-
Field Summary
Fields Modifier and Type Field Description static intPRECEDENCE
-
Constructor Summary
Constructors Constructor Description CdsCxOccInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeVoteExecution(javax.servlet.http.HttpServletRequest request, Vote vote)Method called before final vote will be executedprotected booleangetConsentGivenValue(javax.servlet.http.HttpServletRequest request)protected ConsentServicegetConsentService()protected SessionServicegetSessionService()booleanisEnabled()voidsetConsentService(ConsentService consentService)voidsetEnabled(boolean enabled)voidsetSessionService(SessionService sessionService)-
Methods inherited from class de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
getDefaultVote, getOrder, setOrder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.personalizationservices.occ.CxOccInterceptor
afterVoteExecution, beforeGetVote, shouldPersonalizeRequest, shouldPersonalizeRequestVote
-
-
-
-
Field Detail
-
PRECEDENCE
public static final int PRECEDENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeVoteExecution
public void beforeVoteExecution(javax.servlet.http.HttpServletRequest request, Vote vote)Description copied from interface:CxOccInterceptorMethod called before final vote will be executed- Parameters:
request- Http requestvote- 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)
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
getConsentService
protected ConsentService getConsentService()
-
setConsentService
public void setConsentService(ConsentService consentService)
-
-