public interface JackrabbitWorkspace
Workspace
interface.Modifier and Type | Method and Description |
---|---|
void |
createWorkspace(java.lang.String workspaceName)
Creates a workspace with the given name.
|
void |
createWorkspace(java.lang.String workspaceName,
org.xml.sax.InputSource workspaceTemplate)
Creates a workspace with the given name and a workspace configuration
template.
|
PrivilegeManager |
getPrivilegeManager()
Returns the privilege manager.
|
void createWorkspace(java.lang.String workspaceName) throws AccessDeniedException, RepositoryException
workspaceName
- name of the new workspaceAccessDeniedException
- if the current session is not allowed to
create the workspaceRepositoryException
- if a workspace with the given name
already exists or if another error occurs#getAccessibleWorkspaceNames()
void createWorkspace(java.lang.String workspaceName, org.xml.sax.InputSource workspaceTemplate) throws AccessDeniedException, RepositoryException
workspaceName
- name of the new workspaceworkspaceTemplate
- the configuration template of the new workspaceAccessDeniedException
- if the current session is not allowed to
create the workspaceRepositoryException
- if a workspace with the given name
already exists or if another error occurs#getAccessibleWorkspaceNames()
PrivilegeManager getPrivilegeManager() throws RepositoryException
RepositoryException
- If an error occurs."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"