public class

IPAEnvironments

extends AbstractIPAConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.ipa.utils.AbstractIPAConfigurationElementList
         ↳ com.microstrategy.web.ipa.utils.IPAEnvironments

Class Overview

This class defines topology of the environments

Summary

Constants
String NODE_IPAENV
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
IPAEnvironments(Node root)
Class constructor.
IPAEnvironments(String xml)
IPAEnvironments(Document doc)
Class constructor.
Public Methods
void addEMDataLoad(String iID, EMDataLoad iDataLoad)
void addEMServer(EMServer iEMServer)
void addEnvironment(String iId, IPAEnvironment iEnv)
void addGroup(String iID, EnvironmentGroups iGroup)
void addRoot(String iId, IPARoot iRoot)
void addServer(String iId, IPAServer iServer)
void delEMDataLoad(String iId)
void delEMServer()
void delEnvironment(String iId)
void delGroup(String iId)
void delRoot(String iId)
void delServer(String iId)
List<EMDataLoad> getEMDataLoads()
EMServer getEMServer()
List<IPAEnvironment> getEnvironmentList()
List<EnvironmentGroups> getGroupsList()
IPARoot getRoot()
List<IPAServer> getServerList()
int getSize()
Determine the number of counters represented in this widget
void save(String fileContents, String fileName)
Save all the information regarding the IPA environments to disk.
Protected Methods
String getKeyAttribute()
Get key attribute
[Expand]
Inherited Methods
From class com.microstrategy.web.ipa.utils.AbstractIPAConfigurationElementList
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
From interface java.io.Externalizable

Constants

public static final String NODE_IPAENV

Constant Value: "IPAEnvironments"

Public Constructors

public IPAEnvironments (Node root)

Class constructor. Creates a new instance of the IPAEnvironments initializing it with the information provided on an XML Node.

Parameters
root Node instance representing the information regarding IPA topology

public IPAEnvironments (String xml)

Parameters
xml the xml string of topology
Throws
SAXException
IOException
ParserConfigurationException
IOException
SAXException

public IPAEnvironments (Document doc)

Class constructor. Creates a new instance of the IPAEnvironments, initializing it with the information provided on an XML Document.

Parameters
doc DOM Document with information to initialize this class

Public Methods

public void addEMDataLoad (String iID, EMDataLoad iDataLoad)

public void addEMServer (EMServer iEMServer)

public void addEnvironment (String iId, IPAEnvironment iEnv)

public void addGroup (String iID, EnvironmentGroups iGroup)

public void addRoot (String iId, IPARoot iRoot)

public void addServer (String iId, IPAServer iServer)

public void delEMDataLoad (String iId)

public void delEMServer ()

public void delEnvironment (String iId)

public void delGroup (String iId)

public void delRoot (String iId)

public void delServer (String iId)

public List<EMDataLoad> getEMDataLoads ()

public EMServer getEMServer ()

public List<IPAEnvironment> getEnvironmentList ()

public List<EnvironmentGroups> getGroupsList ()

public IPARoot getRoot ()

public List<IPAServer> getServerList ()

public int getSize ()

Determine the number of counters represented in this widget

Returns
  • The count of counters

public void save (String fileContents, String fileName)

Save all the information regarding the IPA environments to disk.

Parameters
fileContents The string representation of IPA environments.
fileName The name of the file(along with path information) where we want to store the information.

Protected Methods

protected String getKeyAttribute ()

Get key attribute

Returns
  • null There is no key attribute for the IPAAdminCfg node