Class UiServiceImpl
java.lang.Object
org.craftercms.studio.impl.v2.service.ui.UiServiceImpl
- All Implemented Interfaces:
UiService
Default implementation of
UiService. Delegates to the UiServiceInternal for the actual work.- Author:
- avasquez
-
Constructor Summary
ConstructorsConstructorDescriptionUiServiceImpl(SecurityService securityService, UiServiceInternal uiServiceInternal) -
Method Summary
Modifier and TypeMethodDescriptionReturns the active environment.Returns the global menu items available to the current user.voidsetStudioConfiguration(StudioConfiguration studioConfiguration)
-
Constructor Details
-
UiServiceImpl
-
-
Method Details
-
getStudioConfiguration
-
setStudioConfiguration
-
getGlobalMenu
Description copied from interface:UiServiceReturns the global menu items available to the current user.- Specified by:
getGlobalMenuin interfaceUiService- Returns:
- the list of menu items
- Throws:
AuthenticationException- if not user is logged inServiceLayerException- if another error occurs
-
getActiveEnvironment
Description copied from interface:UiServiceReturns the active environment.- Specified by:
getActiveEnvironmentin interfaceUiService- Returns:
- active environment
- Throws:
AuthenticationException- authentication error
-