Package com.microstrategy.web.app
Class PageManager
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.app.PageManager
-
- All Implemented Interfaces:
ConfigurationElement,ConfigurationFile,java.lang.Cloneable
public class PageManager extends AbstractConfigurationElement
This class represents the root element of the page-config. It holds all global settings, that is, settings that can be accessed from any page.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATT_DESCstatic java.lang.StringATT_NAMEstatic java.lang.StringATT_VERSIONstatic java.lang.StringNODE_FRAMEWORK-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description PageManager()Class constructor.PageManager(java.lang.String xml)Class constructor.PageManager(org.w3c.dom.Document doc)Class constructor.PageManager(org.w3c.dom.Node root)Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddPage(java.lang.String pageName, PageInfo page)Add a new Page instance to the Page ManagervoiddeleteAllPages()Delete all pages from this manager instancevoiddeletePage(java.lang.String pageName)Removes the requestedPageInfoinstance from the Manager, based on its ID.java.lang.Objectget(java.lang.Object key)Deprecated.WebBeanStyleListgetBeanStyleList()Get the collection of bean styles available to all thePageInfoinstances defined on this instanceBrowserSettingDefinitionListgetBrowserSettingDefinitionList()Returns the Application's Browser Settings List informationDBPropertiesInfogetDBProperties()PageInfogetDefaultPage()Return the Page that is assigned as default pagejava.lang.StringgetDescription()Get the Page Manager's descriptionDynamicMenusgetDynamicMenus()Returns the Application's dynamic menus informationErrorInfoListgetErrorInfoList()Returns the Application's Error Info List informationESRIConfigurationInfogetESRIConfiguration()ExportFormatListgetExportFormatList()Returns the Application's Export Format List informationExportPlaintextDelimiterListgetExportPlaintextDelimiterList()Returns the Application's Export Plaintext Delimiter List informationObjBrowserFolderLinksgetFolderLinkList()Returns the Application's folder Links List information used in the Object BrowserFolderMappingListgetFolderMapList()Returns the Application's Folder Map List informationprotected java.lang.StringgetKeyAttribute()This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.MapNameConversionsgetMapNameConversion()MultiMapConfigurationInfogetMultiMapConfiguration()java.lang.StringgetName()Return the Page Manager's name.PageInfogetPage(java.lang.String pageName)Get the Page instance associated with the given pageName.PageInfoListgetPageList()Get the pages in this page managerPaperSizesListgetPaperSizesList()Returns the Application's Paper Sizes List informationRibbonListSetgetRibbonListSet()MSTRShapeConfigurationInfogetShapeConfiguration()ShapeFileMapsgetShapeFileMaps()Returns the VI ImageLayout ShapeFileMap information.protected ConfigurationSourcegetSource(java.lang.String srcKey)Gets theElementSourcefor the given key.StaticSessionListgetStaticSessionList()Deprecated.Static Sessions is not a feature supported by the application.SystemPickerListgetSystemPickerList()Returns the Application's picker informationCustomThresholdsInfogetThresholds()ToolbarInfoListgetToolbarInfoList()Returns the Application's toolbars informationTransitionsgetTransitions()java.lang.StringgetVersion()Get the Application's build version.VisualizationGallerygetVisualizationGallery()VisualizationsgetVisualizations()Returns the Application's Visualizations information.WidgetsgetWidgets()voidsetBeanStyleList(WebBeanStyleList styleList)Set the collection of bean styles available to all thePageInfoinstances defined on this instancevoidsetBrowserSettingDefinitionList(BrowserSettingDefinitionList browserSettingDefinitionList)voidsetDescription(java.lang.String newDesc)Set the Page Manager's DescriptionvoidsetDynamicMenus(DynamicMenus dynamicMenus)voidsetErrorInfoList(ErrorInfoList errorInfoList)voidsetExportFormatList(ExportFormatList exportFormatList)voidsetExportFormatList(ExportPlaintextDelimiterList exportPlaintextDelimiters)voidsetFolderLinkList(ObjBrowserFolderLinks objBrowserFolderLinks)voidsetFolderMapList(FolderMappingList folderMappingList)voidsetName(java.lang.String newName)Set the Page Manager's NamevoidsetPaperSizesList(PaperSizesList paperSizesList)voidsetStaticSessionList(StaticSessionList sessionList)Deprecated.Static Sessions is not a feature supported by the application.voidsetSystemPickerList(SystemPickerList systemPickerList)voidsetToolbarInfoList(ToolbarInfoList toolbarInfoList)voidsetTransitions(Transitions transitions)voidsetVersion(java.lang.String version)Sets the Application's build version.voidsetVisualizationGallery(VisualizationGallery visualizationGallery)voidsetVisualizations(Visualizations visualizations)voidsetWidgets(Widgets widgets)intsize()Deprecated.java.lang.StringtoString()Generates the String representation of thisConfigurationElement.-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initDefaultAttributes, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
-
-
-
Field Detail
-
NODE_FRAMEWORK
public static final java.lang.String NODE_FRAMEWORK
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_NAME
public static final java.lang.String ATT_NAME
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_VERSION
public static final java.lang.String ATT_VERSION
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_DESC
public static final java.lang.String ATT_DESC
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageManager
public PageManager()
Class constructor. Creates a new -empty- instance of the Page Manager.
-
PageManager
public PageManager(java.lang.String xml)
Class constructor. Creates a new instance of the Page Manager, initializing it with the information provided on an xml string.- Parameters:
xml- Xml String to use for initializing the object.
-
PageManager
public PageManager(org.w3c.dom.Node root)
Class constructor. Creates a new instance of the Page Manager, initializing it with the information provided on the XML Node.- Parameters:
root- Node instance representing the different pages information.
-
PageManager
public PageManager(org.w3c.dom.Document doc)
Class constructor. Creates a new instance of the Page Manager, initializing it with the information provided on the XMLDocument.- Parameters:
doc- DOM Document with information to initialize this class
-
-
Method Detail
-
getPage
public PageInfo getPage(java.lang.String pageName)
Get the Page instance associated with the given pageName.- Parameters:
pageName- the page's unique identifier.- Returns:
- the
PageInfoassociated that corresponds to the given pageName.
-
addPage
public void addPage(java.lang.String pageName, PageInfo page)Add a new Page instance to the Page Manager- Parameters:
pageName- the page's unique identifier.page-PageInfoinstance to insert, associated with the given page ID.
-
deletePage
public void deletePage(java.lang.String pageName)
Removes the requestedPageInfoinstance from the Manager, based on its ID.- Parameters:
pageName- the page's unique identifier to look for.
-
setBeanStyleList
public void setBeanStyleList(WebBeanStyleList styleList)
Set the collection of bean styles available to all thePageInfoinstances defined on this instance- Parameters:
styleList-WebBeanStyleListinstance representing the styles
-
getBeanStyleList
public WebBeanStyleList getBeanStyleList()
Get the collection of bean styles available to all thePageInfoinstances defined on this instance- Returns:
- the
WebBeanStyleListassociated with this instance
-
setStaticSessionList
public void setStaticSessionList(StaticSessionList sessionList)
Deprecated.Static Sessions is not a feature supported by the application.Static Sessions is a feature that has been removed from the application as it was never fully supported. To use the StaticSesssionList you need to explicitly call this method first to associate a StaticSessionList with this page.- Since:
- MicroStrategy Web 9.0.0
-
getStaticSessionList
public StaticSessionList getStaticSessionList()
Deprecated.Static Sessions is not a feature supported by the application.Static Sessions is a feature that has been removed from the application as it was never fully supported. Calling this method will return null unless a StaticSessionList has been explicitly associated with this instance through thesetStaticSessionList(com.microstrategy.web.app.StaticSessionList)
-
setFolderMapList
public void setFolderMapList(FolderMappingList folderMappingList)
- Since:
- MicroStrategy Web 9.0.0
-
getFolderMapList
public FolderMappingList getFolderMapList()
Returns the Application's Folder Map List information- Returns:
- a
FolderMappingListinstance containing the information about the folder mapping available for the application.
-
setPaperSizesList
public void setPaperSizesList(PaperSizesList paperSizesList)
- Since:
- MicroStrategy Web 9.0.0
-
getPaperSizesList
public PaperSizesList getPaperSizesList()
Returns the Application's Paper Sizes List information- Returns:
- a
PaperSizesListinstance containing the information about the paper sizes available for the application.
-
getExportFormatList
public ExportFormatList getExportFormatList()
Returns the Application's Export Format List information- Returns:
- a
ExportFormatListinstance containing the information about the export formats available for the application.
-
setExportFormatList
public void setExportFormatList(ExportFormatList exportFormatList)
- Since:
- MicroStrategy Web 9.0.0
-
getExportPlaintextDelimiterList
public ExportPlaintextDelimiterList getExportPlaintextDelimiterList()
Returns the Application's Export Plaintext Delimiter List information- Returns:
- a
ExportPlaintextDelimiterListinstance containing the information about the export plaintext available for the application. - Since:
- MicroStrategy Web 9.0.0
-
setExportFormatList
public void setExportFormatList(ExportPlaintextDelimiterList exportPlaintextDelimiters)
- Since:
- MicroStrategy Web 9.0.0
-
getErrorInfoList
public ErrorInfoList getErrorInfoList()
Returns the Application's Error Info List information- Returns:
- a
ErrorInfoListinstance containing the information about the error customized for the application.
-
setErrorInfoList
public void setErrorInfoList(ErrorInfoList errorInfoList)
- Since:
- MicroStrategy Web 9.0.0
-
getFolderLinkList
public ObjBrowserFolderLinks getFolderLinkList()
Returns the Application's folder Links List information used in the Object Browser- Returns:
- a
ObjBrowserFolderLinksinstance containing the information about the folder Links for the application. - Since:
- MicroStrategy Web 8.0.1
-
setFolderLinkList
public void setFolderLinkList(ObjBrowserFolderLinks objBrowserFolderLinks)
- Since:
- MicroStrategy Web 9.0.0
-
getDynamicMenus
public DynamicMenus getDynamicMenus()
Returns the Application's dynamic menus information- Returns:
- a
DynamicMenusinstance containing the information about the dynamic menus for the application.
-
setDynamicMenus
public void setDynamicMenus(DynamicMenus dynamicMenus)
- Since:
- MicroStrategy Web 9.0.0
-
getToolbarInfoList
public ToolbarInfoList getToolbarInfoList()
Returns the Application's toolbars information- Returns:
- a
ToolbarInfoListinstance containing the information about the toolbars for the application. - Since:
- MicroStrategy Web 8.0.0
-
setToolbarInfoList
public void setToolbarInfoList(ToolbarInfoList toolbarInfoList)
- Since:
- MicroStrategy Web 9.0.0
-
getSystemPickerList
public SystemPickerList getSystemPickerList()
Returns the Application's picker information- Returns:
- a
SystemPickerListinstance containing the information about the toolbars for the application. - Since:
- MicroStrategy Web 8.0.0
-
setSystemPickerList
public void setSystemPickerList(SystemPickerList systemPickerList)
- Since:
- MicroStrategy Web 9.0.0
-
getBrowserSettingDefinitionList
public BrowserSettingDefinitionList getBrowserSettingDefinitionList()
Returns the Application's Browser Settings List information- Returns:
- a
BrowserSettingDefinitionListinstance containing the information about the browser settings available for the application.
-
setBrowserSettingDefinitionList
public void setBrowserSettingDefinitionList(BrowserSettingDefinitionList browserSettingDefinitionList)
- Since:
- MicroStrategy Web 9.0.0
-
getVisualizations
public Visualizations getVisualizations()
Returns the Application's Visualizations information.
This object contains a collection ofVisualizationListwhich in turn contains a list ofVisualizationnodes.
A Visualization is a way to display the report/document data. Its name must match a style name from the style catalog.- Returns:
- a
Visualizationsinstance containing the information about the visualizations available for the application. - Since:
- MicroStrategy Web 8.0.2
-
setVisualizations
public void setVisualizations(Visualizations visualizations)
- Since:
- MicroStrategy Web 9.0.0
-
getWidgets
public Widgets getWidgets()
- Since:
- MicroStrategy Web 8.1.0
-
setWidgets
public void setWidgets(Widgets widgets)
- Since:
- MicroStrategy Web 9.0.0
-
getVisualizationGallery
public VisualizationGallery getVisualizationGallery()
-
setVisualizationGallery
public void setVisualizationGallery(VisualizationGallery visualizationGallery)
-
getTransitions
public Transitions getTransitions()
- Since:
- MicroStrategy Web 8.1.0
-
setTransitions
public void setTransitions(Transitions transitions)
- Since:
- MicroStrategy Web 9.0.0
-
getVersion
public java.lang.String getVersion()
Get the Application's build version.- Returns:
- a
Stringwith the build version's information i.e. 7.5.0.112.
-
setVersion
public void setVersion(java.lang.String version)
Sets the Application's build version. I.e. 7.5.0.112.- Parameters:
version- Application's build version.
-
getDefaultPage
public PageInfo getDefaultPage()
Return the Page that is assigned as default page- Returns:
- a
PageInfoinstance assigned as default page
-
setName
public void setName(java.lang.String newName)
Set the Page Manager's Name- Parameters:
newName- the page manager's new name.
-
getName
public java.lang.String getName()
Return the Page Manager's name. Simply used to identify this PageManager.- Returns:
- the page manager's new name.
-
setDescription
public void setDescription(java.lang.String newDesc)
Set the Page Manager's Description- Parameters:
newDesc- the page manager's new description.
-
getDescription
public java.lang.String getDescription()
Get the Page Manager's description- Returns:
- the page manager's new description.
-
deleteAllPages
public void deleteAllPages()
Delete all pages from this manager instance
-
size
public int size()
Deprecated.- Returns:
- The size of page list
- Since:
- MicroStrategy Web 9.0.0
-
get
public java.lang.Object get(java.lang.Object key)
Deprecated.- Returns:
- PageInfo object by given key from the PageInfoList
- Since:
- MicroStrategy Web 9.0.0
-
getPageList
public PageInfoList getPageList()
Get the pages in this page manager- Returns:
- PageInfoList
- Since:
- MicroStrategy Web 9.0.0
-
getSource
protected ConfigurationSource getSource(java.lang.String srcKey)
Description copied from class:AbstractConfigurationElementGets theElementSourcefor the given key. If there is noConfigurationSourcefor the given key, a new source is automatically added.- Overrides:
getSourcein classAbstractConfigurationElement- Since:
- MicroStrategy Web 9.0.0
-
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElementThis method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKeyandsetKeymethods.- Specified by:
getKeyAttributein classAbstractConfigurationElement- Since:
- MicroStrategy Web 9.0.0
-
toString
public java.lang.String toString()
Description copied from class:AbstractConfigurationElementGenerates the String representation of thisConfigurationElement.- Overrides:
toStringin classAbstractConfigurationElement
-
getRibbonListSet
public RibbonListSet getRibbonListSet()
- Since:
- MicroStrategy Web 9.0.1
-
getDBProperties
public DBPropertiesInfo getDBProperties()
-
getThresholds
public CustomThresholdsInfo getThresholds()
-
getShapeFileMaps
public ShapeFileMaps getShapeFileMaps()
Returns the VI ImageLayout ShapeFileMap information.
This object contains a collection ofShapeFileMapswhich in turn contains a list ofShapeFileMapnodes.
ShapeFileMap is an XML file defining the maps using in VI ImageLayout.- Returns:
- a
ShapeFileMapsinstance containing ShapeFileMap information available in VI ImageLayout. - Since:
- MicroStrategy Web 9.4.0
-
getESRIConfiguration
public ESRIConfigurationInfo getESRIConfiguration()
-
getMultiMapConfiguration
public MultiMapConfigurationInfo getMultiMapConfiguration()
-
getShapeConfiguration
public MSTRShapeConfigurationInfo getShapeConfiguration()
-
getMapNameConversion
public MapNameConversions getMapNameConversion()
-
-