Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.directory
Interface DirectoryTreeManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
DirectoryTreeManagerBean

public interface DirectoryTreeManager
extends Serializable


Method Summary
 Boolean adviseNodeOpened(org.richfaces.component.UITree tree)
          Returns true if node should be opened according to last selection.
 void changeExpandListener(org.richfaces.event.NodeExpandedEvent event)
          Listener for node opening/closing events.
 DirectoryTreeNode get(String treeName)
           
 List<String> getDirectoryTreeNames()
           
 List<DirectoryTreeNode> getDirectoryTrees()
           
 String getLabelFor(String directoryTreeName, String fullPath)
          Returns the internationalized label for a given path of the specified Directory tree.
 String getLabelFor(String directoryTreeName, String fullPath, boolean includeDirectoryTreeLabel)
          Returns the internationalized label for a given path of the specified Directory tree, including or not the Directory tree label.
 DirectoryTreeNode getSelectedTree()
           
 String getSelectedTreeName()
           
 boolean isInitialized()
           
 void setSelectedTreeName(String treeName)
           
 

Method Detail

get

DirectoryTreeNode get(String treeName)

getSelectedTree

DirectoryTreeNode getSelectedTree()

getDirectoryTrees

List<DirectoryTreeNode> getDirectoryTrees()

getDirectoryTreeNames

List<String> getDirectoryTreeNames()

getSelectedTreeName

String getSelectedTreeName()

setSelectedTreeName

void setSelectedTreeName(String treeName)

isInitialized

boolean isInitialized()

changeExpandListener

void changeExpandListener(org.richfaces.event.NodeExpandedEvent event)
Listener for node opening/closing events.

Used to not interfere with node state when manually changing open nodes.


adviseNodeOpened

Boolean adviseNodeOpened(org.richfaces.component.UITree tree)
Returns true if node should be opened according to last selection.


getLabelFor

String getLabelFor(String directoryTreeName,
                   String fullPath)
Returns the internationalized label for a given path of the specified Directory tree. The Directory tree label is not included.

Since:
5.4

getLabelFor

String getLabelFor(String directoryTreeName,
                   String fullPath,
                   boolean includeDirectoryTreeLabel)
Returns the internationalized label for a given path of the specified Directory tree, including or not the Directory tree label.

Since:
5.4

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.