@Scope(value=CONVERSATION) @Name(value="treeActions") @Install(precedence=10) public class TreeActionsBean extends Object implements TreeActions, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
NODE_SELECTED_MARKER |
DEFAULT_TREE_PLUGIN_NAME
Constructor and Description |
---|
TreeActionsBean() |
Modifier and Type | Method and Description |
---|---|
void |
changeExpandListener(org.richfaces.event.CollapsibleSubTableToggleEvent event)
Deprecated.
|
String |
forceTreeRefresh() |
String |
getCurrentDocumentPath() |
List<DocumentTreeNode> |
getTreeRoots()
Returns tree roots according to current document first accessible parent.
|
List<DocumentTreeNode> |
getTreeRoots(String treeName) |
boolean |
isNodeExpandEvent() |
void |
reset() |
void |
resetCurrentDocumentData() |
void |
switchToDocumentBase() |
void |
switchToUserWorkspace() |
void |
toggleListener() |
public static final String NODE_SELECTED_MARKER
public List<DocumentTreeNode> getTreeRoots() throws ClientException
TreeActions
getTreeRoots
in interface TreeActions
ClientException
public List<DocumentTreeNode> getTreeRoots(String treeName) throws ClientException
ClientException
@Deprecated public void changeExpandListener(org.richfaces.event.CollapsibleSubTableToggleEvent event)
public String getCurrentDocumentPath()
getCurrentDocumentPath
in interface TreeActions
@Observer(value="userAllDocumentTypesSelectionChanged", create=false) @BypassInterceptors public void resetCurrentDocumentData()
resetCurrentDocumentData
in interface TreeActions
@Observer(value={"goHome","domainSelectionChanged","documentChanged","documentSecurityChanged","documentChildrenChanged"}, create=false) @BypassInterceptors public void reset()
reset
in interface TreeActions
@Observer(value="personnalWorkspace", create=true) public void switchToUserWorkspace()
@Observer(value="goHome", create=false) @BypassInterceptors public void switchToDocumentBase()
public String forceTreeRefresh() throws IOException
IOException
public void toggleListener()
toggleListener
in interface TreeActions
public boolean isNodeExpandEvent()
isNodeExpandEvent
in interface TreeActions
Copyright © 2015 Nuxeo SA. All rights reserved.