public interface RemoteWorkspace extends Remote
Workspace
interface.
Used by the
ServerWorkspace
and
ClientWorkspace
adapters 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.
Workspace
,
ClientWorkspace
,
ServerWorkspace
Modifier and Type | Method and Description |
---|---|
void |
clone(String workspace,
String from,
String to,
boolean removeExisting)
Remote version of the
Workspace.clone(String,String,String,boolean)
method. |
void |
copy(String from,
String to)
Remote version of the
Workspace.copy(String,String)
method. |
void |
copy(String workspace,
String from,
String to)
Remote version of the
Workspace.copy(String,String,String)
method. |
void |
createWorkspace(String name,
String source) |
void |
deleteWorkspace(String name) |
String[] |
getAccessibleWorkspaceNames()
Remote version of the
Workspace.getAccessibleWorkspaceNames()
method. |
RemoteLockManager |
getLockManager() |
String |
getName()
Remote version of the
Workspace.getName() method. |
RemoteNamespaceRegistry |
getNamespaceRegistry()
Remote version of the
Workspace.getNamespaceRegistry()
method. |
RemoteNodeTypeManager |
getNodeTypeManager()
Remote version of the
Workspace.getNodeTypeManager()
method. |
RemoteObservationManager |
getObservationManager()
Remote version of the
Workspace.getObservationManager()
method. |
RemoteQueryManager |
getQueryManager()
Remote version of the
Workspace.getQueryManager()
method. |
RemoteVersionManager |
getVersionManager() |
void |
importXML(String path,
byte[] xml,
int uuidBehaviour)
Remote version of the
Workspace.importXML(String,InputStream,int)
method. |
void |
move(String from,
String to)
Remote version of the
Workspace.move(String,String)
method. |
String getName() throws RemoteException
Workspace.getName()
method.RemoteException
- on RMI errorsvoid copy(String from, String to) throws javax.jcr.RepositoryException, RemoteException
Workspace.copy(String,String)
method.from
- source pathto
- destination pathjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid copy(String workspace, String from, String to) throws javax.jcr.RepositoryException, RemoteException
Workspace.copy(String,String,String)
method.workspace
- source workspacefrom
- source pathto
- destination pathjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid clone(String workspace, String from, String to, boolean removeExisting) throws javax.jcr.RepositoryException, RemoteException
Workspace.clone(String,String,String,boolean)
method.workspace
- source workspacefrom
- source pathto
- destination pathremoveExisting
- flag to remove existing itemsjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid move(String from, String to) throws javax.jcr.RepositoryException, RemoteException
Workspace.move(String,String)
method.from
- source pathto
- destination pathjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteNodeTypeManager getNodeTypeManager() throws javax.jcr.RepositoryException, RemoteException
Workspace.getNodeTypeManager()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteNamespaceRegistry getNamespaceRegistry() throws javax.jcr.RepositoryException, RemoteException
Workspace.getNamespaceRegistry()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteQueryManager getQueryManager() throws javax.jcr.RepositoryException, RemoteException
Workspace.getQueryManager()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteObservationManager getObservationManager() throws javax.jcr.RepositoryException, RemoteException
Workspace.getObservationManager()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsString[] getAccessibleWorkspaceNames() throws javax.jcr.RepositoryException, RemoteException
Workspace.getAccessibleWorkspaceNames()
method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid importXML(String path, byte[] xml, int uuidBehaviour) throws IOException, javax.jcr.RepositoryException, RemoteException
Workspace.importXML(String,InputStream,int)
method.path
- node pathxml
- imported XML documentuuidBehaviour
- uuid behaviour flagIOException
- on IO errorsjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsvoid createWorkspace(String name, String source) throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
RemoteException
void deleteWorkspace(String name) throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
RemoteException
RemoteLockManager getLockManager() throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
RemoteException
RemoteVersionManager getVersionManager() throws javax.jcr.RepositoryException, RemoteException
javax.jcr.RepositoryException
RemoteException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.