public interface JackrabbitWorkspace
Workspace interface.| Modifier and Type | Method and Description |
|---|---|
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.
|
PrivilegeManager |
getPrivilegeManager()
Returns the privilege manager.
|
void createWorkspace(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(String workspaceName, 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 - 2017 Adobe Systems Incorporated. All Rights Reserved"