|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xmldb.RemoteCollectionManagementService
Field Summary |
Fields inherited from interface org.xmldb.api.modules.CollectionManagementService |
SERVICE_NAME |
Constructor Summary | |
RemoteCollectionManagementService(RemoteCollection parent,
org.apache.xmlrpc.XmlRpcClient client)
|
Method Summary | |
void |
copy(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
copy(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
copyResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
copyResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
|
Collection |
createCollection(java.lang.String collName)
Creates a new Collection in the database. |
Collection |
createCollection(java.lang.String collName,
java.util.Date created)
|
Collection |
createCollection(java.lang.String path,
org.w3c.dom.Document configuration)
Implements createCollection from interface CollectionManager. |
Collection |
createCollection(XmldbURI collName)
|
Collection |
createCollection(XmldbURI collName,
java.util.Date created)
|
java.lang.String |
getName()
Returns the name associated with the Service instance. |
java.lang.String |
getProperty(java.lang.String property)
Returns the value of the property identified by name . |
java.lang.String |
getVersion()
Gets the Version attribute of the Service object |
void |
move(java.lang.String collectionPath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
move(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
moveResource(java.lang.String resourcePath,
java.lang.String destinationPath,
java.lang.String newName)
|
void |
moveResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
removeCollection(java.lang.String collName)
Removes a named Collection from the system. |
void |
removeCollection(XmldbURI collName)
|
void |
setCollection(Collection parent)
Sets the Collection attribute of the Service object |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets the property name to have the value provided in
value . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteCollectionManagementService(RemoteCollection parent, org.apache.xmlrpc.XmlRpcClient client)
Method Detail |
public Collection createCollection(java.lang.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 CollectionManagementServiceImpl
XMLDBException
public Collection createCollection(XmldbURI collName) throws XMLDBException
createCollection
in interface CollectionManagementServiceImpl
XMLDBException
public Collection createCollection(java.lang.String collName, java.util.Date created) throws XMLDBException
createCollection
in interface CollectionManagementServiceImpl
XMLDBException
public Collection createCollection(XmldbURI collName, java.util.Date created) throws XMLDBException
createCollection
in interface CollectionManagementServiceImpl
XMLDBException
public Collection createCollection(java.lang.String path, org.w3c.dom.Document configuration) throws XMLDBException
path
- Description of the Parameterconfiguration
- Description of the Parameter
XMLDBException
- Description of the Exceptionpublic java.lang.String getName() throws XMLDBException
Service
getName
in interface Service
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public java.lang.String getProperty(java.lang.String property)
Configurable
name
.
getProperty
in interface Configurable
property
- the name of the property to retrieve.
public java.lang.String getVersion() throws XMLDBException
Service
getVersion
in interface Service
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public void removeCollection(java.lang.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 CollectionManagementServiceImpl
XMLDBException
public void removeCollection(XmldbURI collName) throws XMLDBException
removeCollection
in interface CollectionManagementServiceImpl
XMLDBException
public void setCollection(Collection parent) throws XMLDBException
Service
setCollection
in interface Service
parent
- The new Collection value
XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public void setProperty(java.lang.String property, java.lang.String value)
Configurable
name
to have the value provided in
value
.
setProperty
in interface Configurable
property
- the name of the property to set.value
- the value to set for the property.public void move(java.lang.String collectionPath, java.lang.String destinationPath, java.lang.String newName) throws XMLDBException
move
in interface CollectionManagementServiceImpl
XMLDBException
public void move(XmldbURI collectionPath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
move
in interface CollectionManagementServiceImpl
XMLDBException
public void moveResource(java.lang.String resourcePath, java.lang.String destinationPath, java.lang.String newName) throws XMLDBException
moveResource
in interface CollectionManagementServiceImpl
XMLDBException
public void moveResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
moveResource
in interface CollectionManagementServiceImpl
XMLDBException
public void copy(java.lang.String collectionPath, java.lang.String destinationPath, java.lang.String newName) throws XMLDBException
copy
in interface CollectionManagementServiceImpl
XMLDBException
public void copy(XmldbURI collectionPath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
copy
in interface CollectionManagementServiceImpl
XMLDBException
public void copyResource(java.lang.String resourcePath, java.lang.String destinationPath, java.lang.String newName) throws XMLDBException
copyResource
in interface CollectionManagementServiceImpl
XMLDBException
public void copyResource(XmldbURI resourcePath, XmldbURI destinationPath, XmldbURI newName) throws XMLDBException
copyResource
in interface CollectionManagementServiceImpl
XMLDBException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |