Class PreviewTicketCxOccInterceptor
- java.lang.Object
-
- de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
-
- de.hybris.platform.personalizationcms.interceptors.impl.PreviewTicketCxOccInterceptor
-
- All Implemented Interfaces:
CxOccInterceptor,org.springframework.core.Ordered,org.springframework.integration.context.Orderable
public class PreviewTicketCxOccInterceptor extends AbstractCxOccInterceptor
Extension ofAbstractCxOccInterceptorthat votes with conclusive vote if preview ticket is in the request.
-
-
Field Summary
Fields Modifier and Type Field Description static intPRECEDENCE
-
Constructor Summary
Constructors Constructor Description PreviewTicketCxOccInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SessionServicegetSessionService()protected booleanisEnabled()voidsetSessionService(SessionService sessionService)CxOccInterceptorVoteshouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request)Method to determine if personalization process should be executed for this request-
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, beforeVoteExecution, shouldPersonalizeRequest
-
-
-
-
Field Detail
-
PRECEDENCE
public static final int PRECEDENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldPersonalizeRequestVote
public CxOccInterceptorVote shouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request)
Description copied from interface:CxOccInterceptorMethod 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
-
isEnabled
protected boolean isEnabled()
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-