Class ProductConfigurationUserIdProviderImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.cache.impl.ProductConfigurationUserIdProviderImpl
-
- All Implemented Interfaces:
ProductConfigurationUserIdProvider
public class ProductConfigurationUserIdProviderImpl extends java.lang.Object implements ProductConfigurationUserIdProvider
-
-
Constructor Summary
Constructors Constructor Description ProductConfigurationUserIdProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentUserId()
Obtains an id that uniquely identifies the current user even if the session is anonymousprotected SessionService
getSessionService()
protected UserService
getUserService()
boolean
isAnonymousUser()
void
setSessionService(SessionService sessionService)
void
setUserService(UserService userService)
-
-
-
Method Detail
-
getCurrentUserId
public java.lang.String getCurrentUserId()
Description copied from interface:ProductConfigurationUserIdProvider
Obtains an id that uniquely identifies the current user even if the session is anonymous- Specified by:
getCurrentUserId
in interfaceProductConfigurationUserIdProvider
- Returns:
- user id
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
isAnonymousUser
public boolean isAnonymousUser()
- Specified by:
isAnonymousUser
in interfaceProductConfigurationUserIdProvider
- Returns:
- User is anonymous?
-
-