public abstract class DelegateWorkspaceWrapper extends Object implements javax.jcr.Workspace
Modifier and Type | Field and Description |
---|---|
protected javax.jcr.Workspace |
wrapped |
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 | Constructor and Description |
---|---|
protected |
DelegateWorkspaceWrapper(javax.jcr.Workspace workspace) |
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 name,
String srcWorkspace) |
void |
deleteWorkspace(String name) |
String[] |
getAccessibleWorkspaceNames() |
ContentHandler |
getImportContentHandler(String parentAbsPath,
int uuidBehavior) |
javax.jcr.lock.LockManager |
getLockManager() |
String |
getName() |
javax.jcr.NamespaceRegistry |
getNamespaceRegistry() |
javax.jcr.nodetype.NodeTypeManager |
getNodeTypeManager() |
javax.jcr.observation.ObservationManager |
getObservationManager() |
javax.jcr.query.QueryManager |
getQueryManager() |
javax.jcr.Session |
getSession() |
javax.jcr.version.VersionManager |
getVersionManager() |
javax.jcr.Workspace |
getWrappedWorkspace() |
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehavior) |
void |
move(String srcAbsPath,
String destAbsPath) |
void |
restore(javax.jcr.version.Version[] versions,
boolean removeExisting) |
void |
setWrappedWorkspace(javax.jcr.Workspace workspace) |
String |
toString() |
protected DelegateWorkspaceWrapper(javax.jcr.Workspace workspace)
public javax.jcr.Workspace getWrappedWorkspace()
public void setWrappedWorkspace(javax.jcr.Workspace workspace)
public javax.jcr.Session getSession()
getSession
in interface javax.jcr.Workspace
public String getName()
getName
in interface javax.jcr.Workspace
public void copy(String srcAbsPath, String destAbsPath) throws javax.jcr.nodetype.ConstraintViolationException, javax.jcr.version.VersionException, javax.jcr.AccessDeniedException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
copy
in interface javax.jcr.Workspace
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.version.VersionException, javax.jcr.AccessDeniedException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
copy
in interface javax.jcr.Workspace
javax.jcr.NoSuchWorkspaceException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) throws javax.jcr.NoSuchWorkspaceException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.version.VersionException, javax.jcr.AccessDeniedException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
clone
in interface javax.jcr.Workspace
javax.jcr.NoSuchWorkspaceException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void move(String srcAbsPath, String destAbsPath) throws javax.jcr.nodetype.ConstraintViolationException, javax.jcr.version.VersionException, javax.jcr.AccessDeniedException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
move
in interface javax.jcr.Workspace
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version[] versions, boolean removeExisting) throws javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Workspace
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public javax.jcr.lock.LockManager getLockManager() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getLockManager
in interface javax.jcr.Workspace
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.query.QueryManager getQueryManager() throws javax.jcr.RepositoryException
getQueryManager
in interface javax.jcr.Workspace
javax.jcr.RepositoryException
public javax.jcr.NamespaceRegistry getNamespaceRegistry() throws javax.jcr.RepositoryException
getNamespaceRegistry
in interface javax.jcr.Workspace
javax.jcr.RepositoryException
public javax.jcr.nodetype.NodeTypeManager getNodeTypeManager() throws javax.jcr.RepositoryException
getNodeTypeManager
in interface javax.jcr.Workspace
javax.jcr.RepositoryException
public javax.jcr.observation.ObservationManager getObservationManager() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getObservationManager
in interface javax.jcr.Workspace
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.version.VersionManager getVersionManager() throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getVersionManager
in interface javax.jcr.Workspace
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public String[] getAccessibleWorkspaceNames() throws javax.jcr.RepositoryException
getAccessibleWorkspaceNames
in interface javax.jcr.Workspace
javax.jcr.RepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws javax.jcr.PathNotFoundException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getImportContentHandler
in interface javax.jcr.Workspace
javax.jcr.PathNotFoundException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, javax.jcr.version.VersionException, javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.InvalidSerializedDataException, javax.jcr.lock.LockException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
importXML
in interface javax.jcr.Workspace
IOException
javax.jcr.version.VersionException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidSerializedDataException
javax.jcr.lock.LockException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public void createWorkspace(String name) throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
createWorkspace
in interface javax.jcr.Workspace
javax.jcr.AccessDeniedException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public void createWorkspace(String name, String srcWorkspace) throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
createWorkspace
in interface javax.jcr.Workspace
javax.jcr.AccessDeniedException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
public void deleteWorkspace(String name) throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.NoSuchWorkspaceException, javax.jcr.RepositoryException
deleteWorkspace
in interface javax.jcr.Workspace
javax.jcr.AccessDeniedException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.