org.exist.xmldb
Interface CollectionManagementServiceImpl

All Known Implementing Classes:
LocalCollectionManagementService, RemoteCollectionManagementService

public interface CollectionManagementServiceImpl

Extends the org.xmldb.api.modules.CollectionManagementService interface with extensions specific to eXist, in particular moving and copying collections and resources.

Author:
wolf

Method Summary
 void copy(java.lang.String collection, java.lang.String destination, java.lang.String newName)
           
 void copyResource(java.lang.String resourcePath, java.lang.String destinationPath, java.lang.String newName)
           
 Collection createCollection(java.lang.String collName, java.util.Date created)
           
 void move(java.lang.String collection, java.lang.String destination, java.lang.String newName)
           
 void moveResource(java.lang.String resourcePath, java.lang.String destinationPath, java.lang.String newName)
           
 

Method Detail

move

public void move(java.lang.String collection,
                 java.lang.String destination,
                 java.lang.String newName)
          throws XMLDBException
Throws:
XMLDBException

moveResource

public void moveResource(java.lang.String resourcePath,
                         java.lang.String destinationPath,
                         java.lang.String newName)
                  throws XMLDBException
Throws:
XMLDBException

copyResource

public void copyResource(java.lang.String resourcePath,
                         java.lang.String destinationPath,
                         java.lang.String newName)
                  throws XMLDBException
Throws:
XMLDBException

copy

public void copy(java.lang.String collection,
                 java.lang.String destination,
                 java.lang.String newName)
          throws XMLDBException
Throws:
XMLDBException

createCollection

public Collection createCollection(java.lang.String collName,
                                   java.util.Date created)
                            throws XMLDBException
Throws:
XMLDBException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.