org.apache.jackrabbit.rmi.jackrabbit
Class ClientJackrabbitWorkspace
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientWorkspace
org.apache.jackrabbit.rmi.jackrabbit.ClientJackrabbitWorkspace
- All Implemented Interfaces:
- Workspace, JackrabbitWorkspace
public class ClientJackrabbitWorkspace
- extends ClientWorkspace
- implements JackrabbitWorkspace
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientWorkspace |
clone, copy, copy, getAccessibleWorkspaceNames, getImportContentHandler, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, importXML, move, restore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.Workspace |
clone, copy, copy, getAccessibleWorkspaceNames, getImportContentHandler, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, importXML, move, restore |
ClientJackrabbitWorkspace
public ClientJackrabbitWorkspace(Session session,
RemoteJackrabbitWorkspace remote,
LocalAdapterFactory factory)
createWorkspace
public void createWorkspace(String name)
throws RepositoryException
- Description copied from interface:
JackrabbitWorkspace
- Creates a workspace with the given name.
- Specified by:
createWorkspace
in interface JackrabbitWorkspace
- Parameters:
name
- name of the new workspace
- Throws:
AccessDeniedException
- if the current session is not allowed to
create the workspace
RepositoryException
- if a workspace with the given name
already exists or if another error occurs- See Also:
Workspace.getAccessibleWorkspaceNames()
createWorkspace
public void createWorkspace(String name,
InputSource template)
throws RepositoryException
- Description copied from interface:
JackrabbitWorkspace
- Creates a workspace with the given name and a workspace configuration
template.
- Specified by:
createWorkspace
in interface JackrabbitWorkspace
- Parameters:
name
- name of the new workspacetemplate
- the configuration template of the new workspace
- Throws:
AccessDeniedException
- if the current session is not allowed to
create the workspace
RepositoryException
- if a workspace with the given name
already exists or if another error occurs- See Also:
Workspace.getAccessibleWorkspaceNames()
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.