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

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.ecm.webui.component.browsecontent.UICategoryTree

public class UICategoryTree
extends org.exoplatform.webui.core.UIComponent

Created by The eXo Platform SARL Author : Pham Tuan tuan.pham@exoplatform.com 18-07-2007


Nested Class Summary
static class UICategoryTree.SelectActionListener
           
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UICategoryTree()
           
 
Method Summary
 void buildTree(java.lang.String path)
           
 java.util.List<javax.jcr.Node> getCategoryList(javax.jcr.Node node)
           
 java.lang.String getIcons(javax.jcr.Node node, java.lang.String type)
           
 javax.jcr.Node getRootNode()
           
 javax.jcr.Node getTargetNode(javax.jcr.Node node)
           
 BCTreeNode getTreeRoot()
           
protected  boolean isCategories(javax.jcr.Node node)
           
protected  boolean isCategories(javax.jcr.nodetype.NodeType nodeType)
           
 boolean isSymLink(javax.jcr.Node node)
           
 void setTreeRoot(javax.jcr.Node node)
           
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, findComponentById, findComponentOfType, findFirstComponentOfType, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UICategoryTree

public UICategoryTree()
Method Detail

getTreeRoot

public BCTreeNode getTreeRoot()

setTreeRoot

public void setTreeRoot(javax.jcr.Node node)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getRootNode

public javax.jcr.Node getRootNode()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getIcons

public java.lang.String getIcons(javax.jcr.Node node,
                                 java.lang.String type)
                          throws java.lang.Exception
Throws:
java.lang.Exception

isCategories

protected boolean isCategories(javax.jcr.nodetype.NodeType nodeType)

isCategories

protected boolean isCategories(javax.jcr.Node node)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getCategoryList

public java.util.List<javax.jcr.Node> getCategoryList(javax.jcr.Node node)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

buildTree

public void buildTree(java.lang.String path)
               throws java.lang.Exception
Throws:
java.lang.Exception

isSymLink

public boolean isSymLink(javax.jcr.Node node)
                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getTargetNode

public javax.jcr.Node getTargetNode(javax.jcr.Node node)
                             throws javax.jcr.ItemNotFoundException,
                                    javax.jcr.RepositoryException
Throws:
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.