Class DefaultCxOccAttributesStrategy
java.lang.Object
de.hybris.platform.personalizationservices.occ.impl.DefaultCxOccAttributesStrategy
- All Implemented Interfaces:
CxOccAttributesStrategy
@Deprecated(since="2005",
forRemoval=true)
public class DefaultCxOccAttributesStrategy
extends Object
implements CxOccAttributesStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
since 2005 - use CxOccAttributesFromHeaderStrategy class instead
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServiceDeprecated, for removal: This API element is subject to removal in a future version.protected CxConfigurationServiceDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected TimeServiceDeprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.readPersonalizationCalculationTime(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Read personalization calculation timereadPersonalizationId(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Read personalization identifierprotected <T> Optional<T>readValueFromRequest(javax.servlet.http.HttpServletRequest request, Supplier<String> headerNameSupplier, Supplier<String> cookieNameSupplier, Function<String, T> valueMaper) Deprecated, for removal: This API element is subject to removal in a future version.protected LongsafeValueOf(String value) Deprecated, for removal: This API element is subject to removal in a future version.voidsetConfigurationService(ConfigurationService configurationService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCxConfigurationService(CxConfigurationService cxConfigurationService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPersonalizationCalculationTime(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Set personalization calculation timevoidsetPersonalizationId(String personalizationId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Set personalization identifiervoidsetTimeService(TimeService timeService) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultCxOccAttributesStrategy
public DefaultCxOccAttributesStrategy()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setPersonalizationId
public void setPersonalizationId(String personalizationId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CxOccAttributesStrategySet personalization identifier- Specified by:
setPersonalizationIdin interfaceCxOccAttributesStrategy- Parameters:
personalizationId- personalization identifier to setrequest- Http requestresponse- Http reponse
-
readPersonalizationId
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CxOccAttributesStrategyRead personalization identifier- Specified by:
readPersonalizationIdin interfaceCxOccAttributesStrategy- Parameters:
request- Http request- Returns:
- personalization identifier
-
setPersonalizationCalculationTime
public void setPersonalizationCalculationTime(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CxOccAttributesStrategySet personalization calculation time- Specified by:
setPersonalizationCalculationTimein interfaceCxOccAttributesStrategy- Parameters:
request- Http requestresponse- Http response
-
readPersonalizationCalculationTime
public Optional<Long> readPersonalizationCalculationTime(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CxOccAttributesStrategyRead personalization calculation time- Specified by:
readPersonalizationCalculationTimein interfaceCxOccAttributesStrategy- Parameters:
request- Http request- Returns:
- personalization calculation time as epoch time
-
readValueFromRequest
protected <T> Optional<T> readValueFromRequest(javax.servlet.http.HttpServletRequest request, Supplier<String> headerNameSupplier, Supplier<String> cookieNameSupplier, Function<String, T> valueMaper) Deprecated, for removal: This API element is subject to removal in a future version. -
safeValueOf
Deprecated, for removal: This API element is subject to removal in a future version. -
isPersonalizationCookieEnabled
protected boolean isPersonalizationCookieEnabled()Deprecated, for removal: This API element is subject to removal in a future version. -
getPersonalizationIdHeader
Deprecated, for removal: This API element is subject to removal in a future version. -
getPersonalizationIdCookie
Deprecated, for removal: This API element is subject to removal in a future version. -
getPersonalizationTimeHeader
Deprecated, for removal: This API element is subject to removal in a future version. -
getPersonalizationTimeCookie
Deprecated, for removal: This API element is subject to removal in a future version. -
getTimeService
Deprecated, for removal: This API element is subject to removal in a future version. -
setTimeService
Deprecated, for removal: This API element is subject to removal in a future version. -
getConfigurationService
Deprecated, for removal: This API element is subject to removal in a future version. -
setConfigurationService
Deprecated, for removal: This API element is subject to removal in a future version. -
getCxConfigurationService
Deprecated, for removal: This API element is subject to removal in a future version. -
setCxConfigurationService
Deprecated, for removal: This API element is subject to removal in a future version.
-