|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Jackrabbit workspace interface. This interface contains the
Jackrabbit-specific extensions to the JCR Workspace
interface.
Method Summary | |
void |
createWorkspace(String workspaceName)
Creates a workspace with the given name. |
void |
createWorkspace(String workspaceName,
InputSource workspaceTemplate)
Creates a workspace with the given name and a workspace configuration template. |
Methods inherited from interface javax.jcr.Workspace |
clone, copy, copy, getAccessibleWorkspaceNames, getImportContentHandler, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, importXML, move, restore |
Method Detail |
public void createWorkspace(String workspaceName) throws AccessDeniedException, RepositoryException
workspaceName
- name of the new workspace
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 occursWorkspace.getAccessibleWorkspaceNames()
public void createWorkspace(String workspaceName, InputSource workspaceTemplate) throws AccessDeniedException, RepositoryException
workspaceName
- name of the new workspaceworkspaceTemplate
- the configuration template of the new workspace
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 occursWorkspace.getAccessibleWorkspaceNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |