org.exist.xmldb
Interface CollectionManagementServiceImpl

All Superinterfaces:
org.xmldb.api.modules.CollectionManagementService, org.xmldb.api.base.Configurable, org.xmldb.api.base.Service
All Known Implementing Classes:
LocalCollectionManagementService, RemoteCollectionManagementService

public interface CollectionManagementServiceImpl
extends org.xmldb.api.modules.CollectionManagementService

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

Author:
wolf

Method Summary
 void copy(String collection, String destination, String newName)
          Deprecated. Use XmldbURI version instead
 void copy(XmldbURI collection, XmldbURI destination, XmldbURI newName)
           
 void copyResource(String resourcePath, String destinationPath, String newName)
          Deprecated. Use XmldbURI version instead
 void copyResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName)
           
 org.xmldb.api.base.Collection createCollection(String collName)
          Deprecated. Use XmldbURI version instead
 org.xmldb.api.base.Collection createCollection(String collName, Date created)
          Deprecated. Use XmldbURI version instead
 org.xmldb.api.base.Collection createCollection(XmldbURI collName)
           
 org.xmldb.api.base.Collection createCollection(XmldbURI collName, Date created)
           
 void move(String collection, String destination, String newName)
          Deprecated. Use XmldbURI version instead
 void move(XmldbURI collection, XmldbURI destination, XmldbURI newName)
           
 void moveResource(String resourcePath, String destinationPath, String newName)
          Deprecated. Use XmldbURI version instead
 void moveResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName)
           
 void removeCollection(String collName)
          Deprecated. Use XmldbURI version instead
 void removeCollection(XmldbURI collName)
           
 
Methods inherited from interface org.xmldb.api.base.Service
getName, getVersion, setCollection
 
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
 

Method Detail

move

void move(String collection,
          String destination,
          String newName)
          throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Throws:
org.xmldb.api.base.XMLDBException

moveResource

void moveResource(String resourcePath,
                  String destinationPath,
                  String newName)
                  throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Throws:
org.xmldb.api.base.XMLDBException

copyResource

void copyResource(String resourcePath,
                  String destinationPath,
                  String newName)
                  throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Throws:
org.xmldb.api.base.XMLDBException

copy

void copy(String collection,
          String destination,
          String newName)
          throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Throws:
org.xmldb.api.base.XMLDBException

createCollection

org.xmldb.api.base.Collection createCollection(String collName,
                                               Date created)
                                               throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Throws:
org.xmldb.api.base.XMLDBException

move

void move(XmldbURI collection,
          XmldbURI destination,
          XmldbURI newName)
          throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

moveResource

void moveResource(XmldbURI resourcePath,
                  XmldbURI destinationPath,
                  XmldbURI newName)
                  throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

copyResource

void copyResource(XmldbURI resourcePath,
                  XmldbURI destinationPath,
                  XmldbURI newName)
                  throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

copy

void copy(XmldbURI collection,
          XmldbURI destination,
          XmldbURI newName)
          throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

createCollection

org.xmldb.api.base.Collection createCollection(XmldbURI collName,
                                               Date created)
                                               throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

createCollection

org.xmldb.api.base.Collection createCollection(String collName)
                                               throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
createCollection in interface org.xmldb.api.modules.CollectionManagementService
Throws:
org.xmldb.api.base.XMLDBException

createCollection

org.xmldb.api.base.Collection createCollection(XmldbURI collName)
                                               throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

removeCollection

void removeCollection(String collName)
                      throws org.xmldb.api.base.XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
removeCollection in interface org.xmldb.api.modules.CollectionManagementService
Throws:
org.xmldb.api.base.XMLDBException

removeCollection

void removeCollection(XmldbURI collName)
                      throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException


Copyright (C) Wolfgang Meier. All rights reserved.