Class ConfigurationExpertModeFacadeImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.impl.ConfigurationExpertModeFacadeImpl
-
- All Implemented Interfaces:
ConfigurationExpertModeFacade
public class ConfigurationExpertModeFacadeImpl extends java.lang.Object implements ConfigurationExpertModeFacade
-
-
Constructor Summary
Constructors Constructor Description ConfigurationExpertModeFacadeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableExpertMode()Disable the expert mode.voidenableExpertMode()Enable expert mode for the product configuration, so that technical information are shown in the UI.protected SessionServicegetSessionService()protected UserServicegetUserService()booleanisExpertModeActive()Check if expert mode is currently activated.booleanisExpertModeAllowedForCurrentUser()Check if the current user belongs to the expert mode user group.voidsetSessionService(SessionService sessionService)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
isExpertModeAllowedForCurrentUser
public boolean isExpertModeAllowedForCurrentUser()
Description copied from interface:ConfigurationExpertModeFacadeCheck if the current user belongs to the expert mode user group.- Specified by:
isExpertModeAllowedForCurrentUserin interfaceConfigurationExpertModeFacade- Returns:
- If user is allowed return TRUE
-
isExpertModeActive
public boolean isExpertModeActive()
Description copied from interface:ConfigurationExpertModeFacadeCheck if expert mode is currently activated.- Specified by:
isExpertModeActivein interfaceConfigurationExpertModeFacade- Returns:
- TRUE If the expert mode is activated
-
enableExpertMode
public void enableExpertMode()
Description copied from interface:ConfigurationExpertModeFacadeEnable expert mode for the product configuration, so that technical information are shown in the UI.- Specified by:
enableExpertModein interfaceConfigurationExpertModeFacade
-
disableExpertMode
public void disableExpertMode()
Description copied from interface:ConfigurationExpertModeFacadeDisable the expert mode.- Specified by:
disableExpertModein interfaceConfigurationExpertModeFacade
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-