Package org.apache.jackrabbit.api
Interface JackrabbitWorkspace
-
- All Superinterfaces:
javax.jcr.Workspace
@ProviderType public interface JackrabbitWorkspace extends javax.jcr.WorkspaceThe Jackrabbit workspace interface. This interface contains the Jackrabbit-specific extensions to the JCRWorkspaceinterface.
-
-
Field Summary
-
Fields inherited from interface javax.jcr.Workspace
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateWorkspace(java.lang.String workspaceName)Creates a workspace with the given name.voidcreateWorkspace(java.lang.String workspaceName, org.xml.sax.InputSource workspaceTemplate)Creates a workspace with the given name and a workspace configuration template.PrivilegeManagergetPrivilegeManager()Returns the privilege manager.-
Methods inherited from interface javax.jcr.Workspace
clone, copy, copy, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, importXML, move, restore
-
-
-
-
Method Detail
-
createWorkspace
void createWorkspace(java.lang.String workspaceName) throws javax.jcr.AccessDeniedException, javax.jcr.RepositoryExceptionCreates a workspace with the given name.- Specified by:
createWorkspacein interfacejavax.jcr.Workspace- Parameters:
workspaceName- name of the new workspace- Throws:
javax.jcr.AccessDeniedException- if the current session is not allowed to create the workspacejavax.jcr.RepositoryException- if a workspace with the given name already exists or if another error occurs- See Also:
Workspace.getAccessibleWorkspaceNames()
-
createWorkspace
void createWorkspace(java.lang.String workspaceName, org.xml.sax.InputSource workspaceTemplate) throws javax.jcr.AccessDeniedException, javax.jcr.RepositoryExceptionCreates a workspace with the given name and a workspace configuration template.- Parameters:
workspaceName- name of the new workspaceworkspaceTemplate- the configuration template of the new workspace- Throws:
javax.jcr.AccessDeniedException- if the current session is not allowed to create the workspacejavax.jcr.RepositoryException- if a workspace with the given name already exists or if another error occurs- See Also:
Workspace.getAccessibleWorkspaceNames()
-
getPrivilegeManager
PrivilegeManager getPrivilegeManager() throws javax.jcr.RepositoryException
Returns the privilege manager.- Returns:
- the privilege manager.
- Throws:
javax.jcr.RepositoryException- If an error occurs.
-
-