public class

PageInfoList

extends AbstractConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.app.PageInfoList

Summary

Constants
String NODE_PAGES
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
PageInfoList()
PageInfoList(Node root)
Public Methods
void addPage(String pageName, PageInfo page)
Add a new Page instance to the Page Manager
void deleteAllPages()
Delete all pages from this manager instance
void deletePage(String pageName)
Removes the requested PageInfo instance from the Manager, based on its ID.
PageInfo getDefaultPage()
Return the Page that is assigned as default page
PageInfo getPage(String pageName)
Get the Page instance associated with the given pageName.
void setDefaultPage(PageInfo defaultPage)
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationElementList
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

public static final String NODE_PAGES

Constant Value: "pages"

Public Constructors

public PageInfoList ()

public PageInfoList (Node root)

Public Methods

public void addPage (String pageName, PageInfo page)

Add a new Page instance to the Page Manager

Parameters
pageName the page's unique identifier.
page PageInfo instance to insert, associated with the given page ID.

public void deleteAllPages ()

Delete all pages from this manager instance

public void deletePage (String pageName)

Removes the requested PageInfo instance from the Manager, based on its ID.

Parameters
pageName the page's unique identifier to look for.

public PageInfo getDefaultPage ()

Return the Page that is assigned as default page

Returns
  • a PageInfo instance assigned as default page

public PageInfo getPage (String pageName)

Get the Page instance associated with the given pageName.

Parameters
pageName the page's unique identifier.
Returns
  • the PageInfo associated that corresponds to the given pageName.

public void setDefaultPage (PageInfo defaultPage)