Class DefaultCxOccInterceptor
java.lang.Object
de.hybris.platform.personalizationservices.occ.impl.AbstractCxOccInterceptor
de.hybris.platform.personalizationservices.occ.impl.DefaultCxOccInterceptor
- All Implemented Interfaces:
CxOccInterceptor,org.springframework.core.Ordered,org.springframework.integration.context.Orderable
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterVoteExecution(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Vote vote) Method called after final vote executionprotected CxConsentServiceprotected CxOccAttributesStrategyprotected UserServiceprotected booleanvoidsetCxConsentService(CxConsentService cxConsentService) voidsetCxOccAttributesStrategy(CxOccAttributesStrategy cxOccAttributesStrategy) voidsetUserService(UserService userService) booleanshouldPersonalizeRequest(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.since 1905.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
beforeGetVote, beforeVoteExecution
-
Field Details
-
PRECEDENCE
public static final int PRECEDENCE- See Also:
-
-
Constructor Details
-
DefaultCxOccInterceptor
public DefaultCxOccInterceptor()
-
-
Method Details
-
shouldPersonalizeRequest
@Deprecated(since="1905", forRemoval=true) public boolean shouldPersonalizeRequest(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.since 1905. Please useCxOccInterceptor#shouldPersonalizeRequestVote(HttpServletRequest)instead.Description copied from interface:CxOccInterceptorMethod to determine if personalization process should be executed for this request- Parameters:
request- Http request- Returns:
- true - when personalization process should be continued
false - when personalization process should be omitted
-
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
-
afterVoteExecution
public void afterVoteExecution(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Vote vote) Description copied from interface:CxOccInterceptorMethod called after final vote execution- Parameters:
request- Http requestresponse- Http responsevote- final vote which was executed
-
isRecalculationAction
-
getCxConsentService
-
setCxConsentService
-
getUserService
-
setUserService
-
getCxOccAttributesStrategy
-
setCxOccAttributesStrategy
-