|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteWorkspace
Remote version of the JCR 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| Method Detail |
|---|
String getName()
throws RemoteException
Workspace.getName() method.
RemoteException - on RMI errors
void copy(String from,
String to)
throws RepositoryException,
RemoteException
Workspace.copy(String,String)
method.
from - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
void copy(String workspace,
String from,
String to)
throws RepositoryException,
RemoteException
Workspace.copy(String,String,String)
method.
workspace - source workspacefrom - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
void clone(String workspace,
String from,
String to,
boolean removeExisting)
throws RepositoryException,
RemoteException
Workspace.clone(String,String,String,boolean)
method.
workspace - source workspacefrom - source pathto - destination pathremoveExisting - flag to remove existing items
RepositoryException - on repository errors
RemoteException - on RMI errors
void move(String from,
String to)
throws RepositoryException,
RemoteException
Workspace.move(String,String)
method.
from - source pathto - destination path
RepositoryException - on repository errors
RemoteException - on RMI errors
RemoteNodeTypeManager getNodeTypeManager()
throws RepositoryException,
RemoteException
Workspace.getNodeTypeManager()
method.
RepositoryException - on repository errors
RemoteException - on RMI errors
RemoteNamespaceRegistry getNamespaceRegistry()
throws RepositoryException,
RemoteException
Workspace.getNamespaceRegistry()
method.
RepositoryException - on repository errors
RemoteException - on RMI errors
RemoteQueryManager getQueryManager()
throws RepositoryException,
RemoteException
Workspace.getQueryManager()
method.
RepositoryException - on repository errors
RemoteException - on RMI errors
RemoteObservationManager getObservationManager()
throws RepositoryException,
RemoteException
Workspace.getObservationManager()
method.
RepositoryException - on repository errors
RemoteException - on RMI errors
String[] getAccessibleWorkspaceNames()
throws RepositoryException,
RemoteException
Workspace.getAccessibleWorkspaceNames()
method.
RepositoryException - on repository errors
RemoteException - on RMI errors
void importXML(String path,
byte[] xml,
int uuidBehaviour)
throws IOException,
RepositoryException,
RemoteException
Workspace.importXML(String,InputStream,int)
method.
path - node pathxml - imported XML documentuuidBehaviour - uuid behaviour flag
IOException - on IO errors
RepositoryException - on repository errors
RemoteException - on RMI errors
void createWorkspace(String name,
String source)
throws RepositoryException,
RemoteException
RepositoryException
RemoteException
void deleteWorkspace(String name)
throws RepositoryException,
RemoteException
RepositoryException
RemoteException
RemoteLockManager getLockManager()
throws RepositoryException,
RemoteException
RepositoryException
RemoteException
RemoteVersionManager getVersionManager()
throws RepositoryException,
RemoteException
RepositoryException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||