Class BackofficeCockpitUserService

java.lang.Object
com.hybris.backoffice.cockpitng.user.BackofficeCockpitUserService
All Implemented Interfaces:
com.hybris.cockpitng.core.user.CockpitUserService

public class BackofficeCockpitUserService extends Object implements com.hybris.cockpitng.core.user.CockpitUserService
Implementation of CockpitUserService for the hybris platform, using UserService.
  • Field Details

    • BACKOFFICE_ADMIN_GROUP

      public static final String BACKOFFICE_ADMIN_GROUP
      See Also:
    • IS_ADMIN_SESSION_KEY

      public static final String IS_ADMIN_SESSION_KEY
    • CURRENT_USER_VERIFIES_ANONYMOUS_USER_PROPERTY

      protected static final String CURRENT_USER_VERIFIES_ANONYMOUS_USER_PROPERTY
      See Also:
  • Constructor Details

    • BackofficeCockpitUserService

      public BackofficeCockpitUserService()
  • Method Details

    • getCurrentUser

      public String getCurrentUser()
      Specified by:
      getCurrentUser in interface com.hybris.cockpitng.core.user.CockpitUserService
    • isVerifiedAnonymousUser

      protected boolean isVerifiedAnonymousUser(UserModel user)
    • setCurrentUser

      public void setCurrentUser(String userID)
      Specified by:
      setCurrentUser in interface com.hybris.cockpitng.core.user.CockpitUserService
    • isAdmin

      public boolean isAdmin(String userID)
      Specified by:
      isAdmin in interface com.hybris.cockpitng.core.user.CockpitUserService
    • checkIsAdmin

      protected Boolean checkIsAdmin(String userID)
    • isAdminLegacy

      protected boolean isAdminLegacy(String userID)
    • isLocalizedEditorInitiallyExpanded

      public boolean isLocalizedEditorInitiallyExpanded()
      Specified by:
      isLocalizedEditorInitiallyExpanded in interface com.hybris.cockpitng.core.user.CockpitUserService
    • getUserService

      public UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getCockpitProperties

      public com.hybris.cockpitng.core.util.CockpitProperties getCockpitProperties()
    • setCockpitProperties

      public void setCockpitProperties(com.hybris.cockpitng.core.util.CockpitProperties cockpitProperties)
    • getCockpitSessionService

      public com.hybris.cockpitng.util.CockpitSessionService getCockpitSessionService()
    • setCockpitSessionService

      public void setCockpitSessionService(com.hybris.cockpitng.util.CockpitSessionService cockpitSessionService)
    • getBackofficeRoleService

      protected BackofficeRoleService getBackofficeRoleService()
    • setBackofficeRoleService

      public void setBackofficeRoleService(BackofficeRoleService backofficeRoleService)
    • getAdminsCache

      @Deprecated(since="2105", forRemoval=true) protected Map<String,Boolean> getAdminsCache()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2105, not used any more
      Returns:
    • setAdminsCache

      @Deprecated(since="2105", forRemoval=true) public void setAdminsCache(Map<String,Boolean> adminsCache)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2105, not used any more
      Parameters:
      adminsCache -
    • getServicelayerManager

      protected ServicelayerManager getServicelayerManager()
    • getBackofficeCockpitUserServiceCache

      protected BackofficeCockpitUserServiceCache getBackofficeCockpitUserServiceCache()
    • setBackofficeCockpitUserServiceCache

      public void setBackofficeCockpitUserServiceCache(BackofficeCockpitUserServiceCache backofficeCockpitUserServiceCache)