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
Extension of
AbstractCxOccInterceptor that votes with conclusive vote if preview ticket is in the request.-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SessionServiceprotected booleanvoidsetSessionService(SessionService sessionService) shouldPersonalizeRequestVote(javax.servlet.http.HttpServletRequest request) Method to determine if personalization process should be executed for this requestMethods 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
-
PreviewTicketCxOccInterceptor
public PreviewTicketCxOccInterceptor()
-
-
Method Details
-
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
-
setSessionService
-