org.alfresco.web.bean.dashboard
Class DashboardManager

java.lang.Object
  extended by org.alfresco.web.bean.dashboard.DashboardManager
All Implemented Interfaces:
java.io.Serializable

public class DashboardManager
extends java.lang.Object
implements java.io.Serializable

Bean that manages the Dashboard framework.

See Also:
Serialized Form

Field Summary
static java.lang.String BEAN_NAME
           
 
Constructor Summary
DashboardManager()
           
 
Method Summary
static DashboardsConfigElement getDashboardConfig()
           
 java.util.List getDashletAvailable()
           
 java.lang.String getDashletPage(int index)
          Return the JSP for the specified dashlet index
 java.util.List getDashletTitle()
           
 java.lang.String getLayoutPage()
           
 PageConfig getPageConfig()
           
 void initDashboard()
          Helper to init the dashboard for display
 void savePageConfig(PageConfig config)
          Persist the supplied PageConfig for the current user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final java.lang.String BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

DashboardManager

public DashboardManager()
Method Detail

getLayoutPage

public java.lang.String getLayoutPage()
Returns:
The layout JSP page for the current My Alfresco dashboard page

initDashboard

public void initDashboard()
Helper to init the dashboard for display


getDashletAvailable

public java.util.List getDashletAvailable()
Returns:
JSF List getter to return which dashlets are available for rendering

getDashletTitle

public java.util.List getDashletTitle()
Returns:
JSF List getter to return dashlet title strings

getDashletPage

public java.lang.String getDashletPage(int index)
Return the JSP for the specified dashlet index

Parameters:
index - Zero based index from the left most column working top-bottom then left-right
Returns:
JSP page for the dashlet or a blank dummy page if not found

getPageConfig

public PageConfig getPageConfig()
Returns:
the PageConfig for the current My Alfresco dashboard page

savePageConfig

public void savePageConfig(PageConfig config)
Persist the supplied PageConfig for the current user


getDashboardConfig

public static DashboardsConfigElement getDashboardConfig()
Returns:
The externally configured WebClient config element for the Dashboards


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.