|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HierarchyManager
Main class to access content. Is retrieved by MgnlContext#getHierarchyManager(String)
.
The DefaultHierarchyManager
wraps a JCR session.
Method Summary | |
---|---|
void |
copyTo(String source,
String destination)
|
Content |
createContent(String path,
String label,
String contentType)
|
void |
delete(String path)
|
AccessManager |
getAccessManager()
|
Content |
getContent(String path)
|
Content |
getContent(String path,
boolean create,
ItemType type)
|
Content |
getContentByUUID(String uuid)
|
String |
getName()
|
NodeData |
getNodeData(String path)
|
Content |
getPage(String path,
String templateName)
Deprecated. since 4.0 - only used by taglibs - should go/move. |
QueryManager |
getQueryManager()
|
Content |
getRoot()
|
javax.jcr.Workspace |
getWorkspace()
|
boolean |
hasPendingChanges()
|
boolean |
isExist(String path)
|
boolean |
isGranted(String path,
long permissions)
Checks for the allowed access rights. |
boolean |
isNodeData(String path)
|
boolean |
isNodeType(String path,
ItemType type)
Deprecated. since 4.0 - use getContent().isNodeType() instead. (not used currently) |
boolean |
isNodeType(String path,
String type)
Deprecated. since 4.0 - use getContent().isNodeType() instead. (not used currently) |
boolean |
isPage(String path)
Deprecated. since 4.0 - use getContent().isNodeType() instead. |
void |
moveTo(String source,
String destination)
|
void |
refresh(boolean keepChanges)
|
void |
save()
|
Method Detail |
---|
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
Content getPage(String path, String templateName) 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 isPage(String path) throws AccessDeniedException
AccessDeniedException
boolean isExist(String path)
boolean isGranted(String path, long permissions)
permissions
- permission maskpath
- path to content to be checked
boolean isNodeType(String path, String type)
boolean isNodeType(String path, ItemType type)
boolean 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |