Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.directory
Class DirectoryTreeNode

java.lang.Object
  extended by org.nuxeo.ecm.webapp.directory.DirectoryTreeNode

public class DirectoryTreeNode
extends java.lang.Object

Register directory tree configurations to make them available to the DirectoryTreeManagerBean to build DirectoryTreeNode instances.

Author:
Olivier Grisel

Constructor Summary
DirectoryTreeNode(int level, DirectoryTreeDescriptor config, java.lang.String identifier, java.lang.String description, java.lang.String path, DirectoryService directoryService)
           
 
Method Summary
 int getChildCount()
           
 java.util.List<DirectoryTreeNode> getChildren()
           
 java.lang.String getDescription()
           
 java.lang.String getIdentifier()
           
 java.lang.String getPath()
           
 java.lang.String getType()
           
 boolean isLeaf()
           
 boolean isOpen()
           
 boolean isOpened()
          Returns true if current node is a parent from selected value(s).
 boolean isSelected()
           
 void pathProcessing()
           
 java.lang.String selectNode()
           
 void setDescription(java.lang.String description)
           
 void setIdentifier(java.lang.String identifier)
           
 void setLeaf(boolean leaf)
           
 void setOpen(boolean open)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryTreeNode

public DirectoryTreeNode(int level,
                         DirectoryTreeDescriptor config,
                         java.lang.String identifier,
                         java.lang.String description,
                         java.lang.String path,
                         DirectoryService directoryService)
Method Detail

selectNode

public java.lang.String selectNode()
                            throws ClientException
Throws:
ClientException

isSelected

public boolean isSelected()
                   throws ClientException
Throws:
ClientException

isOpened

public boolean isOpened()
                 throws ClientException
Returns true if current node is a parent from selected value(s).

Throws:
ClientException

getChildCount

public int getChildCount()

getChildren

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

getDescription

public java.lang.String getDescription()

getIdentifier

public java.lang.String getIdentifier()

getPath

public java.lang.String getPath()

getType

public java.lang.String getType()

isLeaf

public boolean isLeaf()

setDescription

public void setDescription(java.lang.String description)

setIdentifier

public void setIdentifier(java.lang.String identifier)

setLeaf

public void setLeaf(boolean leaf)

setType

public void setType(java.lang.String type)

pathProcessing

public void pathProcessing()
                    throws DirectoryException
Throws:
DirectoryException

isOpen

public boolean isOpen()

setOpen

public void setOpen(boolean open)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.