@Name(value="treeWidgetActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class TreeWidgetActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected String |
selectedPath |
protected String |
selectionInputId |
protected String |
selectionListId |
Constructor and Description |
---|
TreeWidgetActions() |
Modifier and Type | Method and Description |
---|---|
void |
addSelectionToList(javax.faces.event.ActionEvent event) |
DocumentModel |
getDocumentFromPath(String path)
Returns the
DocumentModel referenced by the given path if exists, null otherwise. |
void |
setUIInputValue(javax.faces.event.ActionEvent event) |
@In(create=true, required=false) protected transient CoreSession documentManager
@RequestParameter protected String selectionListId
@RequestParameter protected String selectionInputId
@RequestParameter protected String selectedPath
public TreeWidgetActions()
public void addSelectionToList(javax.faces.event.ActionEvent event)
public void setUIInputValue(javax.faces.event.ActionEvent event)
public DocumentModel getDocumentFromPath(String path)
DocumentModel
referenced by the given path if exists, null
otherwise.Copyright © 2017 Nuxeo. All rights reserved.