org.nuxeo.ecm.webapp.directory
Class DirectoryTreeNode
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryTreeNode
public DirectoryTreeNode(int level,
DirectoryTreeDescriptor config,
java.lang.String identifier,
java.lang.String description,
java.lang.String path,
DirectoryService directoryService)
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)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.