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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the active environment.Returns the global menu items available to the current user.voidsetSecurityService(SecurityService securityService) voidsetStudioConfiguration(StudioConfiguration studioConfiguration) voidsetUiServiceInternal(UiServiceInternal uiServiceInternal)
-
Constructor Details
-
UiServiceImpl
public UiServiceImpl()
-
-
Method Details
-
setSecurityService
-
setUiServiceInternal
-
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
-