|
Xindice API version 1.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.apache.xindice.client.xmldb.CommonConfigurable
|
+--org.apache.xindice.client.xmldb.services.CollectionManagementServiceImpl
XML:DB CollectionManagementService implementation using XML-RPC to communicate with Xindice.
| Fields inherited from class org.apache.xindice.client.xmldb.CommonConfigurable |
config |
| Constructor Summary | |
CollectionManagementServiceImpl()
|
|
| Method Summary | |
org.xmldb.api.base.Collection |
createCollection(String childCollName)
Inserts new child collection into this collection |
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 |
getName()
Returns service name |
String |
getVersion()
Returns service version |
String[] |
listIndexers()
Returns a list of all indexers for this collection. |
String[] |
listXMLObjects()
Returns a list of all collection level XMLObjects for this collection. |
void |
removeCollection(String childCollName)
Removes child collection from this collection |
void |
setCollection(org.xmldb.api.base.Collection collection)
Sets collection this service should operate on |
void |
shutdown()
Shutsdown the Database instance |
| Methods inherited from class org.apache.xindice.client.xmldb.CommonConfigurable |
getProperty, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Constructor Detail |
public CollectionManagementServiceImpl()
| Method Detail |
public String getVersion()
throws org.xmldb.api.base.XMLDBException
getVersion in interface org.xmldb.api.base.Service1.0
public org.xmldb.api.base.Collection createCollection(String childCollName)
throws org.xmldb.api.base.XMLDBException
createCollection in interface org.xmldb.api.modules.CollectionManagementServicechildCollName - name for new child collection
public void removeCollection(String childCollName)
throws org.xmldb.api.base.XMLDBException
removeCollection in interface org.xmldb.api.modules.CollectionManagementServicechildCollName - name of child collection to removepublic String getName()
getName in interface org.xmldb.api.base.ServiceCollectionManagementServicepublic void setCollection(org.xmldb.api.base.Collection collection)
setCollection in interface org.xmldb.api.base.Servicecollection - the collection this service should operate on
public String getCollectionName()
throws org.xmldb.api.base.XMLDBException
getCollectionName in interface CollectionManagerorg.xmldb.api.base.XMLDBException -
public String getCanonicalName()
throws org.xmldb.api.base.XMLDBException
getCanonicalName in interface CollectionManagerorg.xmldb.api.base.XMLDBException -
public org.xmldb.api.base.Collection createCollection(String path,
org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
createCollection in interface CollectionManagerpath - 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
dropCollection in interface CollectionManagername - The name of the child collection to drop.org.xmldb.api.base.XMLDBException -
public String[] listIndexers()
throws org.xmldb.api.base.XMLDBException
listIndexers in interface CollectionManagerorg.xmldb.api.base.XMLDBException -
public void createIndexer(org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
createIndexer in interface CollectionManagerconfiguration - The configuration to use for this indexer.org.xmldb.api.base.XMLDBException -
public void dropIndexer(String name)
throws org.xmldb.api.base.XMLDBException
CollectionManagerdropIndexer in interface CollectionManagerorg.apache.xindice.client.xmldb.services.CollectionManagername - The name of the indexer to drop.org.xmldb.api.base.XMLDBException -
public void shutdown()
throws org.xmldb.api.base.XMLDBException
shutdown in interface DatabaseInstanceManagerorg.xmldb.api.base.XMLDBException -
public String[] listXMLObjects()
throws org.xmldb.api.base.XMLDBException
listXMLObjects in interface CollectionManagerorg.xmldb.api.base.XMLDBException -
public void createXMLObject(org.w3c.dom.Document configuration)
throws org.xmldb.api.base.XMLDBException
createXMLObject in interface CollectionManagerconfiguration - The XML configuration to useorg.xmldb.api.base.XMLDBException -
public void dropXMLObject(String name)
throws org.xmldb.api.base.XMLDBException
dropXMLObject in interface CollectionManagername - 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 | ||||||||