|
||||||||||
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(java.lang.String source,
java.lang.String destination)
|
Content |
createContent(java.lang.String path,
java.lang.String label,
java.lang.String contentType)
|
void |
delete(java.lang.String path)
|
AccessManager |
getAccessManager()
|
Content |
getContent(java.lang.String path)
|
Content |
getContent(java.lang.String path,
boolean create,
ItemType type)
|
Content |
getContentByUUID(java.lang.String uuid)
|
java.lang.String |
getName()
|
NodeData |
getNodeData(java.lang.String path)
|
Content |
getPage(java.lang.String path,
java.lang.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(java.lang.String path)
|
boolean |
isGranted(java.lang.String path,
long permissions)
Checks for the allowed access rights. |
boolean |
isNodeData(java.lang.String path)
|
boolean |
isNodeType(java.lang.String path,
ItemType type)
Deprecated. since 4.0 - use getContent().isNodeType() instead. (not used currently) |
boolean |
isNodeType(java.lang.String path,
java.lang.String type)
Deprecated. since 4.0 - use getContent().isNodeType() instead. (not used currently) |
boolean |
isPage(java.lang.String path)
Deprecated. since 4.0 - use getContent().isNodeType() instead. |
void |
moveTo(java.lang.String source,
java.lang.String destination)
|
void |
refresh(boolean keepChanges)
|
void |
save()
|
Method Detail |
---|
AccessManager getAccessManager()
QueryManager getQueryManager()
Content createContent(java.lang.String path, java.lang.String label, java.lang.String contentType) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getContent(java.lang.String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getContent(java.lang.String path, boolean create, ItemType type) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
NodeData getNodeData(java.lang.String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getPage(java.lang.String path, java.lang.String templateName) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void delete(java.lang.String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Content getRoot() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
boolean isPage(java.lang.String path) throws AccessDeniedException
AccessDeniedException
boolean isExist(java.lang.String path)
boolean isGranted(java.lang.String path, long permissions)
permissions
- permission maskpath
- path to content to be checked
boolean isNodeType(java.lang.String path, java.lang.String type)
boolean isNodeType(java.lang.String path, ItemType type)
boolean isNodeData(java.lang.String path) throws AccessDeniedException
AccessDeniedException
Content getContentByUUID(java.lang.String uuid) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.jcr.Workspace getWorkspace()
void moveTo(java.lang.String source, java.lang.String destination) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
void copyTo(java.lang.String source, java.lang.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
java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |