Package org.apache.jackrabbit.rmi.remote
Interface RemoteWorkspace
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerWorkspace
@Deprecated(forRemoval=true) public interface RemoteWorkspace extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.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
Workspace
interface. Used by theServerWorkspace
andClientWorkspace
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.
- See Also:
Workspace
,ClientWorkspace
,ServerWorkspace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
clone(String workspace, String from, String to, boolean removeExisting)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.clone(String,String,String,boolean)
method.void
copy(String from, String to)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.copy(String,String)
method.void
copy(String workspace, String from, String to)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.copy(String,String,String)
method.void
createWorkspace(String name, String source)
Deprecated, for removal: This API element is subject to removal in a future version.void
deleteWorkspace(String name)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getAccessibleWorkspaceNames()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getAccessibleWorkspaceNames()
method.RemoteLockManager
getLockManager()
Deprecated, for removal: This API element is subject to removal in a future version.String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getName()
method.RemoteNamespaceRegistry
getNamespaceRegistry()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getNamespaceRegistry()
method.RemoteNodeTypeManager
getNodeTypeManager()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getNodeTypeManager()
method.RemoteObservationManager
getObservationManager()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getObservationManager()
method.RemoteQueryManager
getQueryManager()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getQueryManager()
method.RemoteVersionManager
getVersionManager()
Deprecated, for removal: This API element is subject to removal in a future version.void
importXML(String path, byte[] xml, int uuidBehaviour)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.importXML(String,InputStream,int)
method.void
move(String from, String to)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.move(String,String)
method.
-
-
-
Method Detail
-
getName
String getName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getNamespaceRegistry()
method.- Returns:
- namespace registry
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getQueryManager
RemoteQueryManager getQueryManager() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getQueryManager()
method.- Returns:
- query manager
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getObservationManager
RemoteObservationManager getObservationManager() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theWorkspace.getObservationManager()
method.- Returns:
- observation manager
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getAccessibleWorkspaceNames
String[] getAccessibleWorkspaceNames() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
deleteWorkspace
void deleteWorkspace(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
getLockManager
RemoteLockManager getLockManager() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
getVersionManager
RemoteVersionManager getVersionManager() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
-