|
|||||||||
| 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)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
|
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)
|
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
|
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
|
void |
saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
|
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)
|
| 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)
public void endElement(java.lang.String eleName,
java.util.Map objState)
public java.lang.String getName()
IConnectionDirectoryReturns the name of the connection directory.
getName in interface IConnectionDirectoryString.public java.lang.String getRemoteID()
IConnectionDirectoryReturns the ID of the remote connection directory.
getRemoteID in interface IConnectionDirectoryString.public DirectoryItems getRoots()
IConnectionDirectoryRetrieves 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 IConnectionDirectoryDirectoryItems
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)
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
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
java.io.IOException
public void saveContents(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOExceptionpublic void setName(java.lang.String name)
IConnectionDirectorySets the name of the connection directory.
setName in interface IConnectionDirectoryname - The name of the connection directory
as a String.public void setRemoteID(java.lang.String remoteID)
IConnectionDirectorySets the ID of the remote connection directory.
setRemoteID in interface IConnectionDirectoryremoteID - The ID of the remote connection directory as a String.public void setRoots(DirectoryItems items)
IConnectionDirectorySets 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 IConnectionDirectoryitems - 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||