NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS
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.
|
clone, copy, copy, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, importXML, move, restore
void createWorkspace(java.lang.String workspaceName) throws AccessDeniedException, RepositoryException
createWorkspace
in interface Workspace
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(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 occursWorkspace.getAccessibleWorkspaceNames()
PrivilegeManager getPrivilegeManager() throws RepositoryException
RepositoryException
- If an error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved