| 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.
|
clone, copy, copy, getAccessibleWorkspaceNames, getImportContentHandler, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, importXML, move, restorevoid 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 occursWorkspace.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 occursWorkspace.getAccessibleWorkspaceNames()PrivilegeManager getPrivilegeManager() throws RepositoryException
RepositoryException - If an error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved