Local adapter for the JCR-RMI RemoteWorkspace
interface. This class makes a remote workspace locally available using
the JCR Workspace
interface.
@Deprecated public class ClientWorkspace extends ClientObject implements Workspace
Workspace
,
RemoteWorkspace
NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS
Constructor and Description |
---|
ClientWorkspace(Session session,
RemoteWorkspace remote,
LocalAdapterFactory factory)
Deprecated.
Creates a client adapter for the given remote workspace.
|
Modifier and Type | Method and Description |
---|---|
void |
clone(String workspace,
String src,
String dst,
boolean removeExisting)
Deprecated.
|
void |
copy(String from,
String to)
Deprecated.
|
void |
copy(String workspace,
String from,
String to)
Deprecated.
|
void |
createWorkspace(String name)
Deprecated.
|
void |
createWorkspace(String name,
String srcWorkspace)
Deprecated.
|
void |
deleteWorkspace(String name)
Deprecated.
|
String[] |
getAccessibleWorkspaceNames()
Deprecated.
|
ContentHandler |
getImportContentHandler(String path,
int mode)
Deprecated.
|
LockManager |
getLockManager()
Deprecated.
|
String |
getName()
Deprecated.
|
NamespaceRegistry |
getNamespaceRegistry()
Deprecated.
|
NodeTypeManager |
getNodeTypeManager()
Deprecated.
|
ObservationManager |
getObservationManager()
Deprecated.
|
QueryManager |
getQueryManager()
Deprecated.
|
Session |
getSession()
Deprecated.
Returns the current session without contacting the remote workspace.
|
VersionManager |
getVersionManager()
Deprecated.
|
void |
importXML(String path,
InputStream xml,
int uuidBehaviour)
Deprecated.
|
void |
move(String from,
String to)
Deprecated.
|
void |
restore(Version[] versions,
boolean removeExisting)
Deprecated.
|
getFactory, getItem, getNode, getNodeTypeArray
public ClientWorkspace(Session session, RemoteWorkspace remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote workspacefactory
- local adapter factorypublic Session getSession()
getSession
in interface Workspace
public void copy(String from, String to) throws RepositoryException
copy
in interface Workspace
RepositoryException
public void copy(String workspace, String from, String to) throws RepositoryException
copy
in interface Workspace
RepositoryException
public void move(String from, String to) throws RepositoryException
move
in interface Workspace
RepositoryException
public QueryManager getQueryManager() throws RepositoryException
getQueryManager
in interface Workspace
RepositoryException
public NamespaceRegistry getNamespaceRegistry() throws RepositoryException
getNamespaceRegistry
in interface Workspace
RepositoryException
public NodeTypeManager getNodeTypeManager() throws RepositoryException
getNodeTypeManager
in interface Workspace
RepositoryException
public ObservationManager getObservationManager() throws RepositoryException
getObservationManager
in interface Workspace
RepositoryException
public void clone(String workspace, String src, String dst, boolean removeExisting) throws RepositoryException
clone
in interface Workspace
RepositoryException
public String[] getAccessibleWorkspaceNames() throws RepositoryException
getAccessibleWorkspaceNames
in interface Workspace
RepositoryException
public ContentHandler getImportContentHandler(String path, int mode) throws RepositoryException
getImportContentHandler
in interface Workspace
RepositoryException
public void importXML(String path, InputStream xml, int uuidBehaviour) throws IOException, RepositoryException
importXML
in interface Workspace
IOException
RepositoryException
public void restore(Version[] versions, boolean removeExisting) throws RepositoryException
restore
in interface Workspace
RepositoryException
public void createWorkspace(String name) throws RepositoryException
createWorkspace
in interface Workspace
RepositoryException
public void createWorkspace(String name, String srcWorkspace) throws RepositoryException
createWorkspace
in interface Workspace
RepositoryException
public void deleteWorkspace(String name) throws RepositoryException
deleteWorkspace
in interface Workspace
RepositoryException
public LockManager getLockManager() throws RepositoryException
getLockManager
in interface Workspace
RepositoryException
public VersionManager getVersionManager() throws RepositoryException
getVersionManager
in interface Workspace
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.