info.magnolia.ui.api.app.launcherlayout
Interface AppLauncherLayoutManager

All Known Implementing Classes:
AppLauncherLayoutManagerImpl

public interface AppLauncherLayoutManager

Manages the launcher layout displayed in the app launcher. Fires an AppLauncherLayoutChangedEvent on the system event bus when the layout changes.

See Also:
AppLauncherLayout, AppLauncherLayoutChangedEvent, AppLauncherLayoutChangedEventHandler

Method Summary
 AppLauncherLayout getLayoutForCurrentUser()
          Returns the AppLauncherLayout for the current user.
 void setLayout(AppLauncherLayoutDefinition layout)
          Called to update the launcher layout when it has been changed in the repository.
 

Method Detail

getLayoutForCurrentUser

AppLauncherLayout getLayoutForCurrentUser()
Returns the AppLauncherLayout for the current user. Empty groups or groups where the current user doesn't have access to any of the apps are not returned. Disabled apps, apps that the user does not have access to and apps that are not present in the AppDescriptorRegistry are not included. The returned object is also populated with AppDescriptor references for quick access.


setLayout

void setLayout(AppLauncherLayoutDefinition layout)
Called to update the launcher layout when it has been changed in the repository.



Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.