public class WorkspaceImpl extends Object implements JackrabbitWorkspace
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| Constructor and Description |
|---|
WorkspaceImpl(SessionContext sessionContext) |
public WorkspaceImpl(SessionContext sessionContext)
@Nonnull public Session getSession()
getSession in interface Workspacepublic void copy(String srcAbsPath, String destAbsPath) throws RepositoryException
copy in interface WorkspaceRepositoryExceptionpublic void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws RepositoryException
copy in interface WorkspaceRepositoryExceptionpublic void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) throws RepositoryException
clone in interface WorkspaceRepositoryExceptionpublic void move(String srcAbsPath, String destAbsPath) throws RepositoryException
move in interface WorkspaceRepositoryExceptionpublic void restore(Version[] versions, boolean removeExisting) throws RepositoryException
restore in interface WorkspaceRepositoryExceptionpublic LockManagerImpl getLockManager()
getLockManager in interface Workspacepublic QueryManager getQueryManager() throws RepositoryException
getQueryManager in interface WorkspaceRepositoryExceptionpublic NamespaceRegistry getNamespaceRegistry()
getNamespaceRegistry in interface Workspacepublic org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager getNodeTypeManager()
getNodeTypeManager in interface Workspacepublic ObservationManager getObservationManager() throws RepositoryException
getObservationManager in interface WorkspaceRepositoryExceptionpublic VersionManager getVersionManager() throws RepositoryException
getVersionManager in interface WorkspaceRepositoryExceptionpublic String[] getAccessibleWorkspaceNames() throws RepositoryException
getAccessibleWorkspaceNames in interface WorkspaceRepositoryExceptionpublic ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws RepositoryException
getImportContentHandler in interface WorkspaceRepositoryExceptionpublic void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, RepositoryException
importXML in interface WorkspaceIOExceptionRepositoryExceptionpublic void createWorkspace(String name) throws RepositoryException
createWorkspace in interface WorkspacecreateWorkspace in interface JackrabbitWorkspaceRepositoryExceptionpublic void createWorkspace(String name, String srcWorkspace) throws RepositoryException
createWorkspace in interface WorkspaceRepositoryExceptionpublic void deleteWorkspace(String name) throws RepositoryException
deleteWorkspace in interface WorkspaceRepositoryExceptionpublic void createWorkspace(String workspaceName, InputSource workspaceTemplate) throws RepositoryException
createWorkspace in interface JackrabbitWorkspaceRepositoryExceptionpublic PrivilegeManager getPrivilegeManager() throws RepositoryException
getPrivilegeManager in interface JackrabbitWorkspaceRepositoryExceptionJackrabbitWorkspace.getPrivilegeManager()Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.