|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xindice.client.xmldb.services.CollectionManager
org.exist.xmldb.CollectionManagementServiceImpl
Field Summary | |
protected org.apache.xmlrpc.XmlRpcClient |
client
|
protected RemoteCollection |
parent
|
Constructor Summary | |
CollectionManagementServiceImpl(RemoteCollection parent,
org.apache.xmlrpc.XmlRpcClient client)
|
Method Summary | |
Collection |
createCollection(java.lang.String collName)
Creates a new Collection in the database. |
Collection |
createCollection(java.lang.String path,
org.w3c.dom.Document configuration)
Implements createCollection from interface CollectionManager. |
java.lang.String |
getName()
Returns the name associated with the Service instance. |
java.lang.String |
getProperty(java.lang.String property)
Returns the value of the property identified by name . |
java.lang.String |
getVersion()
Gets the Version attribute of the Service object |
void |
removeCollection(java.lang.String collName)
Removes a named Collection from the system. |
void |
setCollection(Collection parent)
Sets the Collection attribute of the Service object |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets the property name to have the value provided in
value . |
Methods inherited from class org.apache.xindice.client.xmldb.services.CollectionManager |
createIndexer, createXMLObject, dropCollection, dropIndexer, dropXMLObject, getCanonicalName, getCollectionName, listIndexers, listXMLObjects, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.xmlrpc.XmlRpcClient client
protected RemoteCollection parent
Constructor Detail |
public CollectionManagementServiceImpl(RemoteCollection parent, org.apache.xmlrpc.XmlRpcClient client)
Method Detail |
public Collection createCollection(java.lang.String collName) throws XMLDBException
CollectionManagementService
Collection
in the database. The default
configuration of the database is determined by the implementer. The
new Collection
will be created relative to the
Collection
from which the CollectionManagementService
was retrieved.
createCollection
in interface CollectionManagementService
XMLDBException
public Collection createCollection(java.lang.String path, org.w3c.dom.Document configuration) throws XMLDBException
path
- Description of the Parameterconfiguration
- Description of the Parameter
XMLDBException
- Description of the Exceptionpublic java.lang.String getName() throws XMLDBException
Service
getName
in interface Service
XMLDBException
public java.lang.String getProperty(java.lang.String property)
Configurable
name
.
getProperty
in interface Configurable
public java.lang.String getVersion() throws XMLDBException
Service
getVersion
in interface Service
XMLDBException
public void removeCollection(java.lang.String collName) throws XMLDBException
CollectionManagementService
Collection
from the system. The
name for the Collection
to remove is relative to the
Collection
from which the CollectionManagementService
was retrieved.
removeCollection
in interface CollectionManagementService
XMLDBException
public void setCollection(Collection parent) throws XMLDBException
Service
setCollection
in interface Service
XMLDBException
public void setProperty(java.lang.String property, java.lang.String value)
Configurable
name
to have the value provided in
value
.
setProperty
in interface Configurable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |