public class UiServiceImpl extends Object implements UiService
UiService. Delegates to the UiServiceInternal for the actual work.| Constructor and Description |
|---|
UiServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActiveEnvironment()
Returns the active environment.
|
List<MenuItem> |
getGlobalMenu()
Returns the global menu items available to the current user.
|
StudioConfiguration |
getStudioConfiguration() |
void |
setSecurityService(SecurityService securityService) |
void |
setStudioConfiguration(StudioConfiguration studioConfiguration) |
void |
setUiServiceInternal(UiServiceInternal uiServiceInternal) |
public void setSecurityService(SecurityService securityService)
public void setUiServiceInternal(UiServiceInternal uiServiceInternal)
public StudioConfiguration getStudioConfiguration()
public void setStudioConfiguration(StudioConfiguration studioConfiguration)
public List<MenuItem> getGlobalMenu() throws AuthenticationException, ServiceLayerException
UiServicegetGlobalMenu in interface UiServiceAuthenticationException - if not user is logged inServiceLayerException - if another error occurspublic String getActiveEnvironment() throws AuthenticationException
UiServicegetActiveEnvironment in interface UiServiceAuthenticationExceptionCopyright © 2020 CrafterCMS. All rights reserved.