| java.lang.Object es.udc.mypersonalizer.portal.view.mainpage.DesktopLayoutView
DesktopLayoutView | public class DesktopLayoutView (Code) | | This bean contains the all the information needed for a workspace to be
displayed. Concretely:
- A flag indicating if there are workspace layouts in the desktop or
not. If this flag is set to false, no further data will be held
in this bean.
- The other workspaces that are available, in a List of
WorkspaceLabelView objects.
- All the data of the current workspace, in a
WorkspaceLayoutView object.
author: Daniel Fernandez since: 1.0 |
DesktopLayoutView | public DesktopLayoutView()(Code) | | Creates a new instance of DesktopLayoutView without workspaces.
|
DesktopLayoutView | public DesktopLayoutView(List workspaceLabels, WorkspaceLayoutView workspaceLayoutView)(Code) | | Creates a new instance of DesktopLayoutView with workspaces.
Parameters: workspaceLabels - a List of WorkspaceLabelView objects containing the needed data of each available workspace. Parameters: workspaceLayoutView - the data for the current workspace. |
getUserHasWorkspaces | public boolean getUserHasWorkspaces()(Code) | | Returns the flag which indicates if a desktop has workspaces.
true if there are workspaces, false if not. |
getWorkspaceLayoutView | public WorkspaceLayoutView getWorkspaceLayoutView()(Code) | | Returns the information bean for the current workspace.
a WorkspaceLayoutView object with the current workspace's data. |
|
|