|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollectionManagementServiceImpl
Extends the CollectionManagementService
interface with extensions specific to eXist, in particular moving and copying
collections and resources.
Field Summary |
---|
Fields inherited from interface org.xmldb.api.modules.CollectionManagementService |
---|
SERVICE_NAME |
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)
|
Collection |
createCollection(String collName)
Deprecated. Use XmldbURI version instead |
Collection |
createCollection(String collName,
Date created)
Deprecated. Use XmldbURI version instead |
Collection |
createCollection(XmldbURI collName)
|
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 |
---|
void move(String collection, String destination, String newName) throws XMLDBException
XMLDBException
void moveResource(String resourcePath, String destinationPath, String newName) throws XMLDBException
XMLDBException
void copyResource(String resourcePath, String destinationPath, String newName) throws XMLDBException
XMLDBException
void copy(String collection, String destination, String newName) throws XMLDBException
XMLDBException
Collection createCollection(String collName, Date created) throws XMLDBException
XMLDBException
void move(XmldbURI collection, XmldbURI destination, XmldbURI newName) throws XMLDBException
XMLDBException
void moveResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
XMLDBException
void copyResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
XMLDBException
void copy(XmldbURI collection, XmldbURI destination, XmldbURI newName) throws XMLDBException
XMLDBException
Collection createCollection(XmldbURI collName, Date created) throws XMLDBException
XMLDBException
Collection createCollection(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
collName
- The name of the collection to create.
Collection
instance.
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.Collection createCollection(XmldbURI collName) throws XMLDBException
XMLDBException
void removeCollection(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
collName
- The name of the collection to remove.
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.void removeCollection(XmldbURI collName) throws XMLDBException
XMLDBException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |