Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.dashboard
Class Dashboard

java.lang.Object
  extended by org.nuxeo.opensocial.dashboard.Dashboard
All Implemented Interfaces:
Serializable

@Name(value="opensocialDashboard")
@Scope(value=SESSION)
@Startup
public class Dashboard
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String DASHBARD_MODE_PROPERTY
           
static String NEW_DASHBARD_VIEWID
           
static String OLD_DASHBARD_VIEWID
           
static String SELENIUM_USERAGENT
           
 
Constructor Summary
Dashboard()
           
 
Method Summary
 void dumpDocumentInfo(String docId)
           
 String exit()
           
 List<String> getCategories()
           
 String getCurrentDashboardDomainName()
           
 List<SelectItem> getDomainsSelectItems()
           
 List<Map<String,String>> getGadgets()
           
 String getNuxeoServerUrl()
           
 String getPersonalDashboardId()
           
 String getSelectedDomain()
           
 String goToDashBoard()
           
 boolean isAnonymous()
           
 void setSelectedDomain(String selectedDomain)
           
 String submitSelectedDomainChange()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OLD_DASHBARD_VIEWID

public static final String OLD_DASHBARD_VIEWID
See Also:
Constant Field Values

NEW_DASHBARD_VIEWID

public static final String NEW_DASHBARD_VIEWID
See Also:
Constant Field Values

DASHBARD_MODE_PROPERTY

public static final String DASHBARD_MODE_PROPERTY
See Also:
Constant Field Values

SELENIUM_USERAGENT

public static final String SELENIUM_USERAGENT
See Also:
Constant Field Values
Constructor Detail

Dashboard

public Dashboard()
Method Detail

getPersonalDashboardId

public String getPersonalDashboardId()

isAnonymous

public boolean isAnonymous()

getCategories

@Factory(value="dashboardGadgetCategories",
         scope=EVENT)
public List<String> getCategories()

getGadgets

@Factory(value="dashboardGadgets",
         scope=EVENT)
public List<Map<String,String>> getGadgets()

toString

public String toString()
Overrides:
toString in class Object

getNuxeoServerUrl

@Factory(value="opensocialNuxeoServerUrl",
         scope=APPLICATION)
public String getNuxeoServerUrl()

dumpDocumentInfo

public void dumpDocumentInfo(String docId)

goToDashBoard

public String goToDashBoard()

exit

public String exit()
            throws Exception
Throws:
Exception

getSelectedDomain

public String getSelectedDomain()
                         throws ClientException
Throws:
ClientException

setSelectedDomain

public void setSelectedDomain(String selectedDomain)

getDomainsSelectItems

public List<SelectItem> getDomainsSelectItems()
                                       throws ClientException
Throws:
ClientException

submitSelectedDomainChange

public String submitSelectedDomainChange()
                                  throws ClientException
Throws:
ClientException

getCurrentDashboardDomainName

public String getCurrentDashboardDomainName()
                                     throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.