Package org.apache.jackrabbit.rmi.remote
Interface RemoteWorkspace
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerWorkspace
@Deprecated public interface RemoteWorkspace extends Remote
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
Workspaceinterface. Used by theServerWorkspaceandClientWorkspaceadapters to provide transparent RMI access to remote workspaces.Most of the methods in this interface are documented only with a reference to a corresponding Workspace method. In these cases the remote object will simply forward the method call to the underlying Workspace instance. Complex return values like namespace registries and other objects are returned as remote references to the corresponding remote interface. Simple return values and possible exceptions are copied over the network to the client. RMI errors are signaled with RemoteExceptions.
- See Also:
Workspace,ClientWorkspace,ServerWorkspace
-
-
Method Summary
-
-
-
Method Detail
-
getName
String getName() throws RemoteException
Deprecated.Remote version of theWorkspace.getName()method.- Returns:
- workspace name
- Throws:
RemoteException- on RMI errors
-
copy
void copy(String from, String to) throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.copy(String,String)method.- Parameters:
from- source pathto- destination path- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
copy
void copy(String workspace, String from, String to) throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.copy(String,String,String)method.- Parameters:
workspace- source workspacefrom- source pathto- destination path- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
clone
void clone(String workspace, String from, String to, boolean removeExisting) throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.clone(String,String,String,boolean)method.- Parameters:
workspace- source workspacefrom- source pathto- destination pathremoveExisting- flag to remove existing items- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
move
void move(String from, String to) throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.move(String,String)method.- Parameters:
from- source pathto- destination path- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNodeTypeManager
RemoteNodeTypeManager getNodeTypeManager() throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.getNodeTypeManager()method.- Returns:
- node type manager
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getNamespaceRegistry
RemoteNamespaceRegistry getNamespaceRegistry() throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.getNamespaceRegistry()method.- Returns:
- namespace registry
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getQueryManager
RemoteQueryManager getQueryManager() throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.getQueryManager()method.- Returns:
- query manager
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getObservationManager
RemoteObservationManager getObservationManager() throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.getObservationManager()method.- Returns:
- observation manager
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getAccessibleWorkspaceNames
String[] getAccessibleWorkspaceNames() throws RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.getAccessibleWorkspaceNames()method.- Returns:
- accessible workspace names
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
importXML
void importXML(String path, byte[] xml, int uuidBehaviour) throws IOException, RepositoryException, RemoteException
Deprecated.Remote version of theWorkspace.importXML(String,InputStream,int)method.- Parameters:
path- node pathxml- imported XML documentuuidBehaviour- uuid behaviour flag- Throws:
IOException- on IO errorsRepositoryException- on repository errorsRemoteException- on RMI errors
-
createWorkspace
void createWorkspace(String name, String source) throws RepositoryException, RemoteException
Deprecated.- Throws:
RepositoryExceptionRemoteException
-
deleteWorkspace
void deleteWorkspace(String name) throws RepositoryException, RemoteException
Deprecated.- Throws:
RepositoryExceptionRemoteException
-
getLockManager
RemoteLockManager getLockManager() throws RepositoryException, RemoteException
Deprecated.- Throws:
RepositoryExceptionRemoteException
-
getVersionManager
RemoteVersionManager getVersionManager() throws RepositoryException, RemoteException
Deprecated.- Throws:
RepositoryExceptionRemoteException
-
-