public interface RemoteWorkspace
extends java.rmi.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.
javax.jcr.Workspace,
ClientWorkspace,
ServerWorkspace| Modifier and Type | Method and Description |
|---|---|
void |
clone(java.lang.String workspace,
java.lang.String from,
java.lang.String to,
boolean removeExisting)
Remote version of the
Workspace.clone(String,String,String,boolean)
method. |
void |
copy(java.lang.String from,
java.lang.String to)
Remote version of the
Workspace.copy(String,String)
method. |
void |
copy(java.lang.String workspace,
java.lang.String from,
java.lang.String to)
Remote version of the
Workspace.copy(String,String,String)
method. |
void |
createWorkspace(java.lang.String name,
java.lang.String source) |
void |
deleteWorkspace(java.lang.String name) |
java.lang.String[] |
getAccessibleWorkspaceNames()
Remote version of the
Workspace.getAccessibleWorkspaceNames()
method. |
RemoteLockManager |
getLockManager() |
java.lang.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(java.lang.String path,
byte[] xml,
int uuidBehaviour)
Remote version of the
Workspace.importXML(String,InputStream,int)
method. |
void |
move(java.lang.String from,
java.lang.String to)
Remote version of the
Workspace.move(String,String)
method. |
java.lang.String getName()
throws java.rmi.RemoteException
Workspace.getName() method.java.rmi.RemoteException - on RMI errorsvoid copy(java.lang.String from,
java.lang.String to)
throws RepositoryException,
java.rmi.RemoteException
Workspace.copy(String,String)
method.from - source pathto - destination pathRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid copy(java.lang.String workspace,
java.lang.String from,
java.lang.String to)
throws RepositoryException,
java.rmi.RemoteException
Workspace.copy(String,String,String)
method.workspace - source workspacefrom - source pathto - destination pathRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid clone(java.lang.String workspace,
java.lang.String from,
java.lang.String to,
boolean removeExisting)
throws RepositoryException,
java.rmi.RemoteException
Workspace.clone(String,String,String,boolean)
method.workspace - source workspacefrom - source pathto - destination pathremoveExisting - flag to remove existing itemsRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid move(java.lang.String from,
java.lang.String to)
throws RepositoryException,
java.rmi.RemoteException
Workspace.move(String,String)
method.from - source pathto - destination pathRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteNodeTypeManager getNodeTypeManager() throws RepositoryException, java.rmi.RemoteException
Workspace.getNodeTypeManager()
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteNamespaceRegistry getNamespaceRegistry() throws RepositoryException, java.rmi.RemoteException
Workspace.getNamespaceRegistry()
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteQueryManager getQueryManager() throws RepositoryException, java.rmi.RemoteException
Workspace.getQueryManager()
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteObservationManager getObservationManager() throws RepositoryException, java.rmi.RemoteException
Workspace.getObservationManager()
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsjava.lang.String[] getAccessibleWorkspaceNames()
throws RepositoryException,
java.rmi.RemoteException
Workspace.getAccessibleWorkspaceNames()
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid importXML(java.lang.String path,
byte[] xml,
int uuidBehaviour)
throws java.io.IOException,
RepositoryException,
java.rmi.RemoteException
Workspace.importXML(String,InputStream,int)
method.path - node pathxml - imported XML documentuuidBehaviour - uuid behaviour flagjava.io.IOException - on IO errorsRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsvoid createWorkspace(java.lang.String name,
java.lang.String source)
throws RepositoryException,
java.rmi.RemoteException
RepositoryExceptionjava.rmi.RemoteExceptionvoid deleteWorkspace(java.lang.String name)
throws RepositoryException,
java.rmi.RemoteException
RepositoryExceptionjava.rmi.RemoteExceptionRemoteLockManager getLockManager() throws RepositoryException, java.rmi.RemoteException
RepositoryExceptionjava.rmi.RemoteExceptionRemoteVersionManager getVersionManager() throws RepositoryException, java.rmi.RemoteException
RepositoryExceptionjava.rmi.RemoteException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"