org.exist.xmldb
Class LocalCollectionManagementService
java.lang.Object
org.exist.xmldb.LocalCollectionManagementService
- All Implemented Interfaces:
- CollectionManagementServiceImpl
- public class LocalCollectionManagementService
- extends java.lang.Object
- implements CollectionManagementServiceImpl
|
Method Summary |
void |
copy(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
copyResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
|
Collection |
createCollection(java.lang.String collName)
|
Collection |
createCollection(java.lang.String collName,
java.util.Date created)
|
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()
|
java.lang.String |
getProperty(java.lang.String property)
|
java.lang.String |
getVersion()
|
void |
move(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
moveResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
removeCollection(java.lang.String collName)
|
void |
setCollection(Collection parent)
|
void |
setProperty(java.lang.String property,
java.lang.String value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
brokerPool
protected BrokerPool brokerPool
parent
protected LocalCollection parent
user
protected User user
accessCtx
protected AccessContext accessCtx
LocalCollectionManagementService
public LocalCollectionManagementService(User user,
BrokerPool pool,
LocalCollection parent,
AccessContext accessCtx)
createCollection
public Collection createCollection(java.lang.String collName)
throws XMLDBException
- Throws:
XMLDBException
createCollection
public Collection createCollection(java.lang.String collName,
java.util.Date created)
throws XMLDBException
- Specified by:
createCollection in interface CollectionManagementServiceImpl
- Throws:
XMLDBException
createCollection
public Collection createCollection(java.lang.String path,
org.w3c.dom.Document configuration)
throws XMLDBException
- Creates a new collection in the database identified by name and using
the provided configuration.
- Parameters:
path - the path of the new collectionconfiguration - the XML collection configuration to use for
creating this collection.
- Returns:
- The newly created collection
- Throws:
XMLDBException
getName
public java.lang.String getName()
throws XMLDBException
- Throws:
XMLDBException
getProperty
public java.lang.String getProperty(java.lang.String property)
getVersion
public java.lang.String getVersion()
throws XMLDBException
- Throws:
XMLDBException
removeCollection
public void removeCollection(java.lang.String collName)
throws XMLDBException
- Throws:
XMLDBException
move
public void move(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
throws XMLDBException
- Specified by:
move in interface CollectionManagementServiceImpl
- Throws:
XMLDBException
moveResource
public void moveResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
throws XMLDBException
- Specified by:
moveResource in interface CollectionManagementServiceImpl
- Throws:
XMLDBException
copyResource
public void copyResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
throws XMLDBException
- Specified by:
copyResource in interface CollectionManagementServiceImpl
- Throws:
XMLDBException
copy
public void copy(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
throws XMLDBException
- Specified by:
copy in interface CollectionManagementServiceImpl
- Throws:
XMLDBException
setCollection
public void setCollection(Collection parent)
throws XMLDBException
- Throws:
XMLDBException
setProperty
public void setProperty(java.lang.String property,
java.lang.String value)
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.