|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openedit.webui.tree.DefaultWebTreeNode
com.openedit.webui.tree.RepositoryTreeNode
public class RepositoryTreeNode
This class represents a node in a RepositoryTreeModel.
| Constructor Summary | |
|---|---|
RepositoryTreeNode(Repository inRepository,
ContentItem inContentItem,
java.lang.String inUserPath)
Create a new PageTreeNode. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
RepositoryTreeNode |
findNode(java.lang.String inPath)
Find the descendant of this node with the given path. |
RepositoryTreeNode |
getChild(java.lang.String inName)
Get the first child of this node with the given name. |
java.util.List |
getChildren()
Gets the children. |
ContentItem |
getContentItem()
|
java.lang.String |
getIconSet()
|
PageManager |
getPageManager()
|
Repository |
getRepository()
|
java.lang.String |
getURL()
Gets the URL. |
boolean |
isVirtual()
|
void |
reloadChildren()
Reload the children of this page tree node. |
void |
setContentItem(ContentItem contentItem)
|
void |
setPageManager(PageManager inPageManager)
|
void |
setRepository(Repository repository)
|
void |
setVirtual(boolean inVirtual)
|
java.lang.String |
toString()
|
| Methods inherited from class com.openedit.webui.tree.DefaultWebTreeNode |
|---|
addChild, getChild, getChildCount, getFilter, getIconURL, getID, getIndexOfChild, getName, getParent, hasLoadedChildren, isLeaf, setFilter, setIconSet, setIconURL, setLeaf, setName, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryTreeNode(Repository inRepository,
ContentItem inContentItem,
java.lang.String inUserPath)
PageTreeNode.
inFile - The file that this node representsinPath - The path to the file, relative to the site context root
RepositoryException| Method Detail |
|---|
public RepositoryTreeNode getChild(java.lang.String inName)
inName - The node name
null if no such child could be foundpublic java.util.List getChildren()
DefaultWebTreeNode
getChildren in class DefaultWebTreeNodepublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic RepositoryTreeNode findNode(java.lang.String inPath)
inPath - The path to find
null if it could not be foundpublic void reloadChildren()
reloadChildren in class DefaultWebTreeNodepublic ContentItem getContentItem()
public void setContentItem(ContentItem contentItem)
public Repository getRepository()
public void setRepository(Repository repository)
public PageManager getPageManager()
public void setPageManager(PageManager inPageManager)
public java.lang.String getURL()
DefaultWebTreeNode
getURL in class DefaultWebTreeNodepublic void setVirtual(boolean inVirtual)
public java.lang.String getIconSet()
getIconSet in class DefaultWebTreeNodepublic boolean isVirtual()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jan 06 2009
