Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.tree
Class ReducedTreeActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.tree.TreeActionsBean
      extended by org.nuxeo.ecm.webapp.tree.ReducedTreeActionsBean
All Implemented Interfaces:
Serializable, TreeActions

@Scope(value=PAGE)
@Name(value="reducedTreeActions")
@Install(precedence=10)
public class ReducedTreeActionsBean
extends TreeActionsBean

Manages the tree for reduced utilization, like for popup. Performs additional work when a node is selected such as saving the selection and redirecting towards the required page.

The scope is PAGE to reinitialize the tree for new utilization.

Author:
Thierry Martins
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nuxeo.ecm.webapp.tree.TreeActionsBean
NODE_SELECTED_MARKER
 
Fields inherited from interface org.nuxeo.ecm.webapp.tree.TreeActions
DEFAULT_TREE_PLUGIN_NAME
 
Constructor Summary
ReducedTreeActionsBean()
           
 
Method Summary
 List<DocumentTreeNode> getRootNode()
           
 List<DocumentTreeNode> getTreeRoots()
          Returns tree roots according to current document first accessible parent.
 
Methods inherited from class org.nuxeo.ecm.webapp.tree.TreeActionsBean
adviseNodeOpened, changeExpandListener, forceTreeRefresh, getTreeRoots, reset, resetCurrentDocumentData, switchToDocumentBase, switchToUserWorkspace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReducedTreeActionsBean

public ReducedTreeActionsBean()
Method Detail

getTreeRoots

public List<DocumentTreeNode> getTreeRoots()
                                    throws ClientException
Description copied from interface: TreeActions
Returns tree roots according to current document first accessible parent.

Specified by:
getTreeRoots in interface TreeActions
Overrides:
getTreeRoots in class TreeActionsBean
Throws:
ClientException

getRootNode

public List<DocumentTreeNode> getRootNode()
                                   throws ClientException
Returns:
a list containing a DocumentTreeNode for the Root document
Throws:
ClientException
Since:
5.4

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.