Class SimpleCxProfileIdentifierStrategy
java.lang.Object
de.hybris.platform.personalizationyprofile.strategy.impl.SimpleCxProfileIdentifierStrategy
- All Implemented Interfaces:
CxProfileIdentifierStrategy
public class SimpleCxProfileIdentifierStrategy
extends Object
implements CxProfileIdentifierStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringencodeUserId(String userId) protected Stringprotected Stringprotected ConsentServiceprotected Stringprotected Stringprotected Stringprotected SessionServiceprotected UserServicevoidCleans profile identifier stored in sessionvoidsetConsentService(ConsentService consentService) voidsetCxIdentityServiceClient(CxIdentityServiceClient cxIdentityServiceClient) voidsetPauseConsentReferenceUseParameters(List<String> pauseConsentReferenceUseParameters) voidsetSessionService(SessionService sessionService) voidsetUserService(UserService userService) protected voidstoreProfileIdentifierInSession(UserModel user, String profileId)
-
Field Details
-
PROFILE_ID_SESSSION_ATTR_KEY
- See Also:
-
-
Constructor Details
-
SimpleCxProfileIdentifierStrategy
public SimpleCxProfileIdentifierStrategy()
-
-
Method Details
-
getProfileIdentifier
- Specified by:
getProfileIdentifierin interfaceCxProfileIdentifierStrategy
-
getProfileIdentifierFromSession
-
getProfileIdentifierFromConsentReference
-
storeProfileIdentifierInSession
-
getSessionAttributeKey
-
findProfileIdentifier
-
findProfileIdentifierForRegisteredUser
-
encodeUserId
-
resetProfileIdentifier
Cleans profile identifier stored in session -
getSessionService
-
setSessionService
-
getUserService
-
setUserService
-
getCxIdentityServiceClient
-
setCxIdentityServiceClient
-
getPauseConsentReferenceUseParameters
-
setPauseConsentReferenceUseParameters
-
getConsentService
-
setConsentService
-