|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.xmldb.RemoteCollectionManagementService
public class 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(String collectionPath,
String destinationPath,
String newName)
|
void |
copy(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
copyResource(String resourcePath,
String destinationPath,
String newName)
|
void |
copyResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
|
Collection |
createCollection(String collName)
Creates a new Collection in the database. |
Collection |
createCollection(String collName,
Date created)
|
Collection |
createCollection(String path,
Document configuration)
Implements createCollection from interface CollectionManager. |
Collection |
createCollection(XmldbURI collName)
|
Collection |
createCollection(XmldbURI collName,
Date created)
|
String |
getName()
Returns the name associated with the Service instance. |
String |
getProperty(String property)
Returns the value of the property identified by name. |
String |
getVersion()
Gets the Version attribute of the Service object |
void |
move(String collectionPath,
String destinationPath,
String newName)
|
void |
move(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
moveResource(String resourcePath,
String destinationPath,
String newName)
|
void |
moveResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
|
void |
removeCollection(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(String property,
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(String collName)
throws XMLDBException
CollectionManagementServiceCollection 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 CollectionManagementServiceImplcreateCollection in interface CollectionManagementServicecollName - The name of the collection to create.
Collection instance.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public Collection createCollection(XmldbURI collName)
throws XMLDBException
createCollection in interface CollectionManagementServiceImplXMLDBException
public Collection createCollection(String collName,
Date created)
throws XMLDBException
createCollection in interface CollectionManagementServiceImplXMLDBException
public Collection createCollection(XmldbURI collName,
Date created)
throws XMLDBException
createCollection in interface CollectionManagementServiceImplXMLDBException
public Collection createCollection(String path,
Document configuration)
throws XMLDBException
path - Description of the Parameterconfiguration - Description of the Parameter
XMLDBException - Description of the Exception
public String getName()
throws XMLDBException
Service
getName in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.public String getProperty(String property)
Configurablename.
getProperty in interface Configurableproperty - the name of the property to retrieve.
public String getVersion()
throws XMLDBException
Service
getVersion in interface ServiceXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public void removeCollection(String collName)
throws XMLDBException
CollectionManagementServiceCollection from the system. The
name for the Collection to remove is relative to the
Collection from which the CollectionManagementService
was retrieved.
removeCollection in interface CollectionManagementServiceImplremoveCollection in interface CollectionManagementServicecollName - The name of the collection to remove.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public void removeCollection(XmldbURI collName)
throws XMLDBException
removeCollection in interface CollectionManagementServiceImplXMLDBException
public void setCollection(Collection parent)
throws XMLDBException
Service
setCollection in interface Serviceparent - The new Collection value
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public void setProperty(String property,
String value)
Configurablename to have the value provided in
value.
setProperty in interface Configurableproperty - the name of the property to set.value - the value to set for the property.
public void move(String collectionPath,
String destinationPath,
String newName)
throws XMLDBException
move in interface CollectionManagementServiceImplXMLDBException
public void move(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
throws XMLDBException
move in interface CollectionManagementServiceImplXMLDBException
public void moveResource(String resourcePath,
String destinationPath,
String newName)
throws XMLDBException
moveResource in interface CollectionManagementServiceImplXMLDBException
public void moveResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
throws XMLDBException
moveResource in interface CollectionManagementServiceImplXMLDBException
public void copy(String collectionPath,
String destinationPath,
String newName)
throws XMLDBException
copy in interface CollectionManagementServiceImplXMLDBException
public void copy(XmldbURI collectionPath,
XmldbURI destinationPath,
XmldbURI newName)
throws XMLDBException
copy in interface CollectionManagementServiceImplXMLDBException
public void copyResource(String resourcePath,
String destinationPath,
String newName)
throws XMLDBException
copyResource in interface CollectionManagementServiceImplXMLDBException
public void copyResource(XmldbURI resourcePath,
XmldbURI destinationPath,
XmldbURI newName)
throws XMLDBException
copyResource in interface CollectionManagementServiceImplXMLDBException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||