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) |
Modifier and Type | Method and Description |
---|---|
void |
clone(String srcWorkspace,
String srcAbsPath,
String destAbsPath,
boolean removeExisting) |
void |
copy(String srcAbsPath,
String destAbsPath) |
void |
copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath) |
void |
createWorkspace(String name) |
void |
createWorkspace(String workspaceName,
InputSource workspaceTemplate) |
void |
createWorkspace(String name,
String srcWorkspace) |
void |
deleteWorkspace(String name) |
String[] |
getAccessibleWorkspaceNames() |
ContentHandler |
getImportContentHandler(String parentAbsPath,
int uuidBehavior) |
LockManager |
getLockManager() |
String |
getName() |
NamespaceRegistry |
getNamespaceRegistry() |
org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager |
getNodeTypeManager() |
ObservationManager |
getObservationManager() |
org.apache.jackrabbit.api.security.authorization.PrivilegeManager |
getPrivilegeManager() |
QueryManager |
getQueryManager() |
Session |
getSession() |
VersionManager |
getVersionManager() |
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehavior) |
void |
move(String srcAbsPath,
String destAbsPath) |
void |
restore(Version[] versions,
boolean removeExisting) |
public WorkspaceImpl(SessionContext sessionContext)
@Nonnull public Session getSession()
getSession
in interface Workspace
public void copy(String srcAbsPath, String destAbsPath) throws RepositoryException
copy
in interface Workspace
RepositoryException
public void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws RepositoryException
copy
in interface Workspace
RepositoryException
public void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) throws RepositoryException
clone
in interface Workspace
RepositoryException
public void move(String srcAbsPath, String destAbsPath) throws RepositoryException
move
in interface Workspace
RepositoryException
public void restore(Version[] versions, boolean removeExisting) throws RepositoryException
restore
in interface Workspace
RepositoryException
public LockManager getLockManager()
getLockManager
in interface Workspace
public QueryManager getQueryManager() throws RepositoryException
getQueryManager
in interface Workspace
RepositoryException
public NamespaceRegistry getNamespaceRegistry()
getNamespaceRegistry
in interface Workspace
public org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager getNodeTypeManager()
getNodeTypeManager
in interface Workspace
public ObservationManager getObservationManager() throws RepositoryException
getObservationManager
in interface Workspace
RepositoryException
public VersionManager getVersionManager() throws RepositoryException
getVersionManager
in interface Workspace
RepositoryException
public String[] getAccessibleWorkspaceNames() throws RepositoryException
getAccessibleWorkspaceNames
in interface Workspace
RepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws RepositoryException
getImportContentHandler
in interface Workspace
RepositoryException
public void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, RepositoryException
importXML
in interface Workspace
IOException
RepositoryException
public void createWorkspace(String name) throws RepositoryException
createWorkspace
in interface Workspace
createWorkspace
in interface org.apache.jackrabbit.api.JackrabbitWorkspace
RepositoryException
public void createWorkspace(String name, String srcWorkspace) throws RepositoryException
createWorkspace
in interface Workspace
RepositoryException
public void deleteWorkspace(String name) throws RepositoryException
deleteWorkspace
in interface Workspace
RepositoryException
public void createWorkspace(String workspaceName, InputSource workspaceTemplate) throws RepositoryException
createWorkspace
in interface org.apache.jackrabbit.api.JackrabbitWorkspace
RepositoryException
public org.apache.jackrabbit.api.security.authorization.PrivilegeManager getPrivilegeManager() throws RepositoryException
getPrivilegeManager
in interface org.apache.jackrabbit.api.JackrabbitWorkspace
RepositoryException
JackrabbitWorkspace.getPrivilegeManager()
Copyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.