org.nuxeo.ecm.webapp.tree
Class TreeActionsBean
java.lang.Object
org.nuxeo.ecm.webapp.tree.TreeActionsBean
- All Implemented Interfaces:
- java.io.Serializable, TreeActions
- Direct Known Subclasses:
- ReducedTreeActionsBean
@Scope(value=CONVERSATION)
@Name(value="treeActions")
@Install(precedence=10)
public class TreeActionsBean
- extends java.lang.Object
- implements TreeActions, java.io.Serializable
Manages the navigation tree.
- Author:
- Razvan Caraghin, Anahide Tchertchian
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_SELECTED_MARKER
public static final java.lang.String NODE_SELECTED_MARKER
TreeActionsBean
public TreeActionsBean()
getTreeRoots
public java.util.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
- Throws:
ClientException
changeExpandListener
public void changeExpandListener(org.richfaces.event.NodeExpandedEvent event)
- Description copied from interface:
TreeActions
- Listener for node opening/closing events.
Used to not interfere with node state when manually changing open nodes.
- Specified by:
changeExpandListener
in interface TreeActions
adviseNodeOpened
public java.lang.Boolean adviseNodeOpened(org.richfaces.component.UITree treeComponent)
- Description copied from interface:
TreeActions
- Returns true if node should be opened according to current document.
- Specified by:
adviseNodeOpened
in interface TreeActions
resetCurrentDocumentData
@Observer(value="userAllDocumentTypesSelectionChanged",
create=false)
@BypassInterceptors
public void resetCurrentDocumentData()
- Specified by:
resetCurrentDocumentData
in interface TreeActions
reset
@Observer(value={"goHome","domainSelectionChanged","documentChanged","documentSecurityChanged","documentChildrenChanged"},
create=false)
@BypassInterceptors
public void reset()
- Specified by:
reset
in interface TreeActions
destroy
@Destroy
public void destroy()
- Specified by:
destroy
in interface TreeActions
switchToUserWorkspace
@Observer(value="personnalWorkspace",
create=false)
public void switchToUserWorkspace()
switchToDocumentBase
@Observer(value={"goHome","domainSelectionChanged"},
create=false)
@BypassInterceptors
public void switchToDocumentBase()
forceTreeRefresh
public java.lang.String forceTreeRefresh()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.