@Deprecated public interface HierarchyManager
MgnlContext#getHierarchyManager(String)
.
The DefaultHierarchyManager
wraps a JCR session.Modifier and Type | Method and Description |
---|---|
void |
copyTo(String source,
String destination)
Deprecated.
|
Content |
createContent(String path,
String label,
String contentType)
Deprecated.
|
void |
delete(String path)
Deprecated.
|
AccessManager |
getAccessManager()
Deprecated.
|
Content |
getContent(String path)
Deprecated.
|
Content |
getContent(String path,
boolean create,
ItemType type)
Deprecated.
|
Content |
getContentByUUID(String uuid)
Deprecated.
|
String |
getName()
Deprecated.
since 4.5 - use
Session#getWorkspace()#getName() instead. |
NodeData |
getNodeData(String path)
Deprecated.
|
QueryManager |
getQueryManager()
Deprecated.
|
Content |
getRoot()
Deprecated.
|
javax.jcr.Workspace |
getWorkspace()
Deprecated.
|
boolean |
hasPendingChanges()
Deprecated.
|
boolean |
isExist(String path)
Deprecated.
|
boolean |
isGranted(String path,
long permissions)
Deprecated.
Checks for the allowed access rights.
|
boolean |
isNodeData(String path)
Deprecated.
|
void |
moveTo(String source,
String destination)
Deprecated.
|
void |
refresh(boolean keepChanges)
Deprecated.
|
void |
save()
Deprecated.
|
AccessManager getAccessManager()
QueryManager getQueryManager()
Content createContent(String path, String label, String contentType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getContent(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getContent(String path, boolean create, ItemType type) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
NodeData getNodeData(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void delete(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getRoot() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
boolean isExist(String path)
boolean isGranted(String path, long permissions)
permissions
- permission maskpath
- path to content to be checkedboolean isNodeData(String path) throws AccessDeniedException
AccessDeniedException
Content getContentByUUID(String uuid) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.jcr.Workspace getWorkspace()
void moveTo(String source, String destination) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void copyTo(String source, String destination) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void save() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
boolean hasPendingChanges() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void refresh(boolean keepChanges) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
String getName()
Session#getWorkspace()#getName()
instead.Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.