Class BackofficeCockpitUserService
- java.lang.Object
-
- com.hybris.backoffice.cockpitng.user.BackofficeCockpitUserService
-
- All Implemented Interfaces:
com.hybris.cockpitng.core.user.CockpitUserService
public class BackofficeCockpitUserService extends java.lang.Object implements com.hybris.cockpitng.core.user.CockpitUserService
Implementation ofCockpitUserService
for the hybris platform, usingUserService
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BACKOFFICE_ADMIN_GROUP
protected static java.lang.String
CURRENT_USER_VERIFIES_ANONYMOUS_USER_PROPERTY
static java.lang.String
IS_ADMIN_SESSION_KEY
-
Constructor Summary
Constructors Constructor Description BackofficeCockpitUserService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.hybris.cockpitng.core.util.CockpitProperties
getCockpitProperties()
com.hybris.cockpitng.util.CockpitSessionService
getCockpitSessionService()
java.lang.String
getCurrentUser()
protected ServicelayerManager
getServicelayerManager()
UserService
getUserService()
boolean
isAdmin(java.lang.String userID)
boolean
isLocalizedEditorInitiallyExpanded()
protected boolean
isVerifiedAnonymousUser(UserModel user)
void
setCockpitProperties(com.hybris.cockpitng.core.util.CockpitProperties cockpitProperties)
void
setCockpitSessionService(com.hybris.cockpitng.util.CockpitSessionService cockpitSessionService)
void
setCurrentUser(java.lang.String userID)
void
setUserService(UserService userService)
-
-
-
Field Detail
-
BACKOFFICE_ADMIN_GROUP
public static final java.lang.String BACKOFFICE_ADMIN_GROUP
- See Also:
- Constant Field Values
-
IS_ADMIN_SESSION_KEY
public static final java.lang.String IS_ADMIN_SESSION_KEY
-
CURRENT_USER_VERIFIES_ANONYMOUS_USER_PROPERTY
protected static final java.lang.String CURRENT_USER_VERIFIES_ANONYMOUS_USER_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentUser
public java.lang.String getCurrentUser()
- Specified by:
getCurrentUser
in interfacecom.hybris.cockpitng.core.user.CockpitUserService
-
isVerifiedAnonymousUser
protected boolean isVerifiedAnonymousUser(UserModel user)
-
setCurrentUser
public void setCurrentUser(java.lang.String userID)
- Specified by:
setCurrentUser
in interfacecom.hybris.cockpitng.core.user.CockpitUserService
-
isAdmin
public boolean isAdmin(java.lang.String userID)
- Specified by:
isAdmin
in interfacecom.hybris.cockpitng.core.user.CockpitUserService
-
isLocalizedEditorInitiallyExpanded
public boolean isLocalizedEditorInitiallyExpanded()
- Specified by:
isLocalizedEditorInitiallyExpanded
in interfacecom.hybris.cockpitng.core.user.CockpitUserService
-
getUserService
public UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getCockpitSessionService
public com.hybris.cockpitng.util.CockpitSessionService getCockpitSessionService()
-
setCockpitSessionService
public void setCockpitSessionService(com.hybris.cockpitng.util.CockpitSessionService cockpitSessionService)
-
getCockpitProperties
public com.hybris.cockpitng.core.util.CockpitProperties getCockpitProperties()
-
setCockpitProperties
public void setCockpitProperties(com.hybris.cockpitng.core.util.CockpitProperties cockpitProperties)
-
getServicelayerManager
protected ServicelayerManager getServicelayerManager()
-
-