|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.dashboard.PageConfig
public final class PageConfig
Describes the config for the Pages in a user Dashboard. Multiple Pages are supported.
| Constructor Summary | |
|---|---|
PageConfig()
Default constructor |
|
PageConfig(PageConfig copy)
Copy constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageConfig()
public PageConfig(PageConfig copy)
copy - PageConfig to copy| Method Detail |
|---|
public 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 return
public java.lang.String toXML()
public java.lang.String toString()
toString in class java.lang.Object
public void fromXML(DashboardsConfigElement config,
java.lang.String xml)
xml -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||