|
||||||||
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.LocalCollectionManagementService
Field Summary | |
protected BrokerPool |
brokerPool
|
protected LocalCollection |
parent
|
protected User |
user
|
Constructor Summary | |
LocalCollectionManagementService(User user,
BrokerPool pool,
LocalCollection parent)
Constructor for the LocalCollectionManagementService object |
Method Summary | |
Collection |
createCollection(java.lang.String collName)
Description of the Method |
Collection |
createCollection(java.lang.String path,
org.w3c.dom.Document configuration)
Creates a new collection in the database identified by name and using the provided configuration. |
java.lang.String |
getName()
Gets the name attribute of the LocalCollectionManagementService object |
java.lang.String |
getProperty(java.lang.String property)
Gets the property attribute of the LocalCollectionManagementService object |
java.lang.String |
getVersion()
Gets the version attribute of the LocalCollectionManagementService object |
void |
removeCollection(java.lang.String collName)
Description of the Method |
void |
setCollection(Collection parent)
Sets the collection attribute of the LocalCollectionManagementService object |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets the property attribute of the LocalCollectionManagementService object |
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 BrokerPool brokerPool
protected LocalCollection parent
protected User user
Constructor Detail |
public LocalCollectionManagementService(User user, BrokerPool pool, LocalCollection parent)
pool
- Description of the Parameterparent
- Description of the Parameteruser
- Description of the ParameterMethod Detail |
public Collection createCollection(java.lang.String collName) throws XMLDBException
collName
- Description of the Parameter
XMLDBException
- Description of the Exceptionpublic Collection createCollection(java.lang.String path, org.w3c.dom.Document configuration) throws XMLDBException
path
- the path of the new collectionconfiguration
- the XML collection configuration to use for
creating this collection.
XMLDBException
public java.lang.String getName() throws XMLDBException
XMLDBException
- Description of the Exceptionpublic java.lang.String getProperty(java.lang.String property)
property
- Description of the Parameter
public java.lang.String getVersion() throws XMLDBException
XMLDBException
- Description of the Exceptionpublic void removeCollection(java.lang.String collName) throws XMLDBException
collName
- Description of the Parameter
XMLDBException
- Description of the Exceptionpublic void setCollection(Collection parent) throws XMLDBException
parent
- The new collection value
XMLDBException
- Description of the Exceptionpublic void setProperty(java.lang.String property, java.lang.String value)
property
- The new property valuevalue
- The new property value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |