public final class PageConfig extends Object implements 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,
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(String pageId)
Get a Page with the specified page Id
|
void |
setCurrentPage(String pageId)
Set the current Page for the cnfig
|
String |
toString() |
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(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(String pageId)
pageId
- Of the page to returnpublic String toXML()
public void fromXML(DashboardsConfigElement config, String xml)
xml
- Copyright © 2005–2017 Alfresco Software. All rights reserved.