public class

TopologyChangeSet

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.TopologyChangeSet

Class Overview

This class defines commands manipulating the topology

Summary

Constants
String ATT_TS
String NODE_COMMANDS
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
TopologyChangeSet()
TopologyChangeSet(Node root)
Class constructor.
TopologyChangeSet(Document doc)
Class constructor.
Public Methods
void addCommand(AbstractConfigurationElement iCmd)
List<AbstractConfigurationElement> getCmdList(String iNodeName)
int getSize()
Determine the number of commands
String getTimeStamp()
TopologyChangeSet parse(String ixmlCmds)
TopologyChangeSet parseUsingLocalId(String ixmlCmds)
this one is existing only for test junit test purpose@return
void save(String fileContents, String fileName)
Save all the information regarding the commands to disk.
void setTimeStamp(String iTimeStamp)
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 ATT_TS

Constant Value: "ts"

public static final String NODE_COMMANDS

Constant Value: "ipac"

Public Constructors

public TopologyChangeSet ()

public TopologyChangeSet (Node root)

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

Parameters
root Node instance representing the information regarding IPA commands

public TopologyChangeSet (Document doc)

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

Parameters
doc DOM Document with information to initialize this class

Public Methods

public void addCommand (AbstractConfigurationElement iCmd)

public List<AbstractConfigurationElement> getCmdList (String iNodeName)

public int getSize ()

Determine the number of commands

Returns
  • The count of commands

public String getTimeStamp ()

public TopologyChangeSet parse (String ixmlCmds)

Throws
SAXException

public TopologyChangeSet parseUsingLocalId (String ixmlCmds)

this one is existing only for test junit test purpose@return

Throws
SAXException

public void save (String fileContents, String fileName)

Save all the information regarding the commands to disk.

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

public void setTimeStamp (String iTimeStamp)

Protected Methods

protected String getKeyAttribute ()

Get key attribute

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