|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.ConnectionDirectory
public class ConnectionDirectory
This object is used to get and set information
for a connection directory. ConnectionDirectoryItem
objects
can be passed as an argument to the
getTables()
method,
which will in turn retrieve the item's database tables. When possible, use the IConnectionDirectory
interface to manipulate this object.
Constructor Summary | |
---|---|
ConnectionDirectory()
|
|
ConnectionDirectory(IConnectionDirectory src)
|
Method Summary | |
---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
java.lang.String |
getName()
Returns the name of the connection directory. |
java.lang.String |
getRemoteID()
Returns the ID of the remote connection directory. |
DirectoryItems |
getRoots()
Retrieves the root items from each data source directory on the server. |
boolean |
hasContent(java.lang.Object obj)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
setName(java.lang.String name)
Sets the name of the connection directory. |
void |
setRemoteID(java.lang.String remoteID)
Sets the ID of the remote connection directory. |
void |
setRoots(DirectoryItems items)
Sets the root items from each data source directory on the server. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionDirectory(IConnectionDirectory src)
public ConnectionDirectory()
Method Detail |
---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public java.lang.String getName()
IConnectionDirectory
Returns the name of the connection directory.
getName
in interface IConnectionDirectory
String
.public java.lang.String getRemoteID()
IConnectionDirectory
Returns the ID of the remote connection directory.
getRemoteID
in interface IConnectionDirectory
String
.public DirectoryItems getRoots()
IConnectionDirectory
Retrieves the root items from each data source directory on the server. This method gets the top-level nodes of the Connection Directory Manager. The returned objects are stored in the DirectoryItems collection.
Once the DirectoryItems have been retrieved, use the
GetChildren Method to retrieve the child nodes of each item.
If the DirectoryItem is a ConnectionDirectoryItem Object,
then it can be passed as an argument to the
getTables()
method,
which will in turn retrieve the item's database tables.
getRoots
in interface IConnectionDirectory
DirectoryItems
object.public boolean hasContent(java.lang.Object obj)
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, java.lang.String sTag, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void setName(java.lang.String name)
IConnectionDirectory
Sets the name of the connection directory.
setName
in interface IConnectionDirectory
name
- The name of the connection directory
as a String
.public void setRemoteID(java.lang.String remoteID)
IConnectionDirectory
Sets the ID of the remote connection directory.
setRemoteID
in interface IConnectionDirectory
remoteID
- The ID of the remote connection directory as a String
.public void setRoots(DirectoryItems items)
IConnectionDirectory
Sets the root items from each data source directory on the server. This method sets the top-level nodes of the Connection Directory Manager. The objects are stored in the DirectoryItems collection.
Once the DirectoryItems have been retrieved, use the
ITotallerNode.getChildren()
Method to retrieve the child nodes of each item.
If the DirectoryItem is a ConnectionDirectoryItem
object,
then it can be passed as an argument to the GetTables Method,
which will in turn retrieve the item's database tables.
setRoots
in interface IConnectionDirectory
items
- The root items form the data source directory on the server
as a DirectoryItems
object.public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |