|
Xindice API version 1.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
CollectionManager provides management facilities for a Collection instance. Administrative access is required for retrieval of the CollectionManager interface. User level access is provided through the underlying Collection itself.
| Method Summary | |
org.xmldb.api.base.Collection |
createCollection(String path,
org.w3c.dom.Document configuration)
Creates a new collection in the database identified by name and using the provided configuration. |
void |
createIndexer(org.w3c.dom.Document configuration)
Creates a new Indexer for this collection. |
void |
createXMLObject(org.w3c.dom.Document configuration)
Creates a new collection level XMLObject using the provided configuration. |
void |
dropCollection(String name)
Drops a child collection from this collection. |
void |
dropIndexer(String name)
Drops the indexer from the collection |
void |
dropXMLObject(String name)
Drops a collection level XMLObject from the collection. |
String |
getCanonicalName()
Returns the fully qualified name of the collection that this manager is associated with. |
String |
getCollectionName()
Returns the name of the collection that this manager is associated with. |
String[] |
listIndexers()
Returns a list of all indexers for this collection. |
String[] |
listXMLObjects()
Returns a list of all collection level XMLObjects for this collection. |
| Method Detail |
public String getCollectionName()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException -
public String getCanonicalName()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException -
public org.xmldb.api.base.Collection createCollection(String path,
org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
path - the path of the new collectionconfiguration - the XML collection configuration to use for
creating this collection.org.xmldb.api.base.XMLDBException -
public void dropCollection(String name)
throws org.xmldb.api.base.XMLDBException
name - The name of the child collection to drop.org.xmldb.api.base.XMLDBException -
public String[] listIndexers()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException -
public void createIndexer(org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
configuration - The configuration to use for this indexer.org.xmldb.api.base.XMLDBException -
public void dropIndexer(String name)
throws org.xmldb.api.base.XMLDBException
name - The name of the indexer to drop.org.xmldb.api.base.XMLDBException -
public String[] listXMLObjects()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException -
public void createXMLObject(org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
configuration - The XML configuration to useorg.xmldb.api.base.XMLDBException -
public void dropXMLObject(String name)
throws org.xmldb.api.base.XMLDBException
name - The name of the XMLObject to drop.org.xmldb.api.base.XMLDBException -
|
Xindice API version 1.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||