org.exoplatform.ecm.webui.component.browsecontent
Class BCTreeNode

java.lang.Object
  extended by org.exoplatform.ecm.webui.component.browsecontent.BCTreeNode

public class BCTreeNode
extends java.lang.Object

Created by The eXo Platform SARL Author : Pham Tuan phamtuanchip@yahoo.de Jan 3, 2007 3:24:37 PM


Constructor Summary
BCTreeNode(javax.jcr.Node node)
           
BCTreeNode(javax.jcr.Node node, java.util.List<javax.jcr.Node> children)
           
 
Method Summary
 BCTreeNode getChild(java.lang.String relPath)
           
 java.util.List<BCTreeNode> getChildren()
           
 int getChildrenSize()
           
 int getLevel()
           
 java.lang.String getName()
           
 javax.jcr.Node getNode()
           
 java.lang.String getPath()
           
 boolean isExpanded()
           
 void setChildren(java.util.List<javax.jcr.Node> children)
           
 void setExpanded(boolean isExpanded)
           
 void setNode(javax.jcr.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCTreeNode

public BCTreeNode(javax.jcr.Node node,
                  java.util.List<javax.jcr.Node> children)

BCTreeNode

public BCTreeNode(javax.jcr.Node node)
Method Detail

getLevel

public int getLevel()
             throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isExpanded

public boolean isExpanded()

setExpanded

public void setExpanded(boolean isExpanded)

getName

public java.lang.String getName()
                         throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getPath

public java.lang.String getPath()
                         throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getNode

public javax.jcr.Node getNode()

setNode

public void setNode(javax.jcr.Node node)

getChildren

public java.util.List<BCTreeNode> getChildren()

getChildrenSize

public int getChildrenSize()

getChild

public BCTreeNode getChild(java.lang.String relPath)
                    throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

setChildren

public void setChildren(java.util.List<javax.jcr.Node> children)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.