|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientWorkspace
org.apache.jackrabbit.rmi.jackrabbit.ClientJackrabbitWorkspace
public class ClientJackrabbitWorkspace
Constructor Summary | |
---|---|
ClientJackrabbitWorkspace(javax.jcr.Session session,
RemoteJackrabbitWorkspace remote,
LocalAdapterFactory factory)
|
Method Summary | |
---|---|
void |
createWorkspace(String name)
Creates a workspace with the given name. |
void |
createWorkspace(String name,
InputSource template)
Creates a workspace with the given name and a workspace configuration template. |
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 org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
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 |
Constructor Detail |
---|
public ClientJackrabbitWorkspace(javax.jcr.Session session, RemoteJackrabbitWorkspace remote, LocalAdapterFactory factory)
Method Detail |
---|
public void createWorkspace(String name) throws javax.jcr.RepositoryException
JackrabbitWorkspace
createWorkspace
in interface JackrabbitWorkspace
name
- name of the new workspace
javax.jcr.AccessDeniedException
- if the current session is not allowed to
create the workspace
javax.jcr.RepositoryException
- if a workspace with the given name
already exists or if another error occursWorkspace.getAccessibleWorkspaceNames()
public void createWorkspace(String name, InputSource template) throws javax.jcr.RepositoryException
JackrabbitWorkspace
createWorkspace
in interface JackrabbitWorkspace
name
- name of the new workspacetemplate
- the configuration template of the new workspace
javax.jcr.AccessDeniedException
- if the current session is not allowed to
create the workspace
javax.jcr.RepositoryException
- if a workspace with the given name
already exists or if another error occursWorkspace.getAccessibleWorkspaceNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |