org.exist.xmldb
Class RemoteCollectionManagementService

java.lang.Object
  extended by org.exist.xmldb.RemoteCollectionManagementService
All Implemented Interfaces:
CollectionManagementServiceImpl, Configurable, Service, CollectionManagementService

public class RemoteCollectionManagementService
extends Object
implements CollectionManagementServiceImpl


Constructor Summary
RemoteCollectionManagementService(RemoteCollection parent, XmlRpcClient client)
           
 
Method Summary
 void copy(String collectionPath, String destinationPath, String newName)
          Deprecated. Use XmldbURI version instead
 void copy(XmldbURI collectionPath, XmldbURI destinationPath, 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(String path, Document configuration)
          Deprecated. Use XmldbURI version instead
 Collection createCollection(XmldbURI collName)
           
 Collection createCollection(XmldbURI collName, Date created)
           
 String getName()
           
 String getProperty(String property)
           
 String getVersion()
           
 void move(String collectionPath, String destinationPath, String newName)
          Deprecated. Use XmldbURI version instead
 void move(XmldbURI collectionPath, XmldbURI destinationPath, 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)
           
 void runCommand(String[] params)
           
 void setCollection(Collection parent)
           
 void setProperty(String property, String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCollectionManagementService

public RemoteCollectionManagementService(RemoteCollection parent,
                                         XmlRpcClient client)
Method Detail

createCollection

public Collection createCollection(String collName)
                            throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
createCollection in interface CollectionManagementServiceImpl
Specified by:
createCollection in interface CollectionManagementService
Throws:
XMLDBException

createCollection

public Collection createCollection(XmldbURI collName)
                            throws XMLDBException
Specified by:
createCollection in interface CollectionManagementServiceImpl
Throws:
XMLDBException

createCollection

public Collection createCollection(String collName,
                                   Date created)
                            throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
createCollection in interface CollectionManagementServiceImpl
Throws:
XMLDBException

createCollection

public Collection createCollection(XmldbURI collName,
                                   Date created)
                            throws XMLDBException
Specified by:
createCollection in interface CollectionManagementServiceImpl
Throws:
XMLDBException

createCollection

public Collection createCollection(String path,
                                   Document configuration)
                            throws XMLDBException
Deprecated. Use XmldbURI version instead

Implements createCollection from interface CollectionManager. Gets called by some applications based on Xindice.

Parameters:
path - Description of the Parameter
configuration - Description of the Parameter
Returns:
Description of the Return Value
Throws:
XMLDBException - Description of the Exception

getName

public String getName()
               throws XMLDBException
Specified by:
getName in interface Service
Throws:
XMLDBException

getProperty

public String getProperty(String property)
Specified by:
getProperty in interface Configurable

getVersion

public String getVersion()
                  throws XMLDBException
Specified by:
getVersion in interface Service
Throws:
XMLDBException

removeCollection

public void removeCollection(String collName)
                      throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
removeCollection in interface CollectionManagementServiceImpl
Specified by:
removeCollection in interface CollectionManagementService
Throws:
XMLDBException

removeCollection

public void removeCollection(XmldbURI collName)
                      throws XMLDBException
Specified by:
removeCollection in interface CollectionManagementServiceImpl
Throws:
XMLDBException

setCollection

public void setCollection(Collection parent)
                   throws XMLDBException
Specified by:
setCollection in interface Service
Throws:
XMLDBException

setProperty

public void setProperty(String property,
                        String value)
Specified by:
setProperty in interface Configurable

move

public void move(String collectionPath,
                 String destinationPath,
                 String newName)
          throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
move in interface CollectionManagementServiceImpl
Throws:
XMLDBException

move

public void move(XmldbURI collectionPath,
                 XmldbURI destinationPath,
                 XmldbURI newName)
          throws XMLDBException
Specified by:
move in interface CollectionManagementServiceImpl
Throws:
XMLDBException

moveResource

public void moveResource(String resourcePath,
                         String destinationPath,
                         String newName)
                  throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
moveResource in interface CollectionManagementServiceImpl
Throws:
XMLDBException

moveResource

public void moveResource(XmldbURI resourcePath,
                         XmldbURI destinationPath,
                         XmldbURI newName)
                  throws XMLDBException
Specified by:
moveResource in interface CollectionManagementServiceImpl
Throws:
XMLDBException

copy

public void copy(String collectionPath,
                 String destinationPath,
                 String newName)
          throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
copy in interface CollectionManagementServiceImpl
Throws:
XMLDBException

copy

public void copy(XmldbURI collectionPath,
                 XmldbURI destinationPath,
                 XmldbURI newName)
          throws XMLDBException
Specified by:
copy in interface CollectionManagementServiceImpl
Throws:
XMLDBException

copyResource

public void copyResource(String resourcePath,
                         String destinationPath,
                         String newName)
                  throws XMLDBException
Deprecated. Use XmldbURI version instead

Specified by:
copyResource in interface CollectionManagementServiceImpl
Throws:
XMLDBException

copyResource

public void copyResource(XmldbURI resourcePath,
                         XmldbURI destinationPath,
                         XmldbURI newName)
                  throws XMLDBException
Specified by:
copyResource in interface CollectionManagementServiceImpl
Throws:
XMLDBException

runCommand

public void runCommand(String[] params)
                throws XMLDBException
Specified by:
runCommand in interface CollectionManagementServiceImpl
Throws:
XMLDBException


Copyright (C) The eXist-db Project. All rights reserved.