public final class PageConfig
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PageConfig()
Default constructor
|
PageConfig(PageConfig copy)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(org.alfresco.web.bean.dashboard.Page page)
Add a new Page to the list
|
void |
fromXML(DashboardsConfigElement config,
java.lang.String xml)
Deserialise this PageConfig instance from the specified XML stream.
|
org.alfresco.web.bean.dashboard.Page |
getCurrentPage() |
org.alfresco.web.bean.dashboard.Page |
getPage(java.lang.String pageId)
Get a Page with the specified page Id
|
void |
setCurrentPage(java.lang.String pageId)
Set the current Page for the cnfig
|
java.lang.String |
toString() |
java.lang.String |
toXML()
Convert this config to an XML definition which can be serialized.
|
public PageConfig()
public PageConfig(PageConfig copy)
copy - PageConfig to copypublic org.alfresco.web.bean.dashboard.Page getCurrentPage()
public void setCurrentPage(java.lang.String pageId)
pageId - ID of the page to set as currentpublic void addPage(org.alfresco.web.bean.dashboard.Page page)
page - Page to addpublic org.alfresco.web.bean.dashboard.Page getPage(java.lang.String pageId)
pageId - Of the page to returnpublic java.lang.String toXML()
public java.lang.String toString()
toString in class java.lang.Objectpublic void fromXML(DashboardsConfigElement config, java.lang.String xml)
xml - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.