public class UserTreeNode extends Object
Constructor and Description |
---|
UserTreeNode(DocumentModel document) |
UserTreeNode(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addChildren(UserTreeNode child) |
static List<UserTreeNode> |
constructNodes(Collection<DocumentModel> docs)
Factory method to build a collection of UserTReeNode.
|
List<UserTreeNode> |
getChildrens() |
String |
getDisplayedName()
Get the displayed name, if instantiate with a documentModel it
will be the document Id
|
String |
getId() |
public UserTreeNode(String name)
public UserTreeNode(DocumentModel document)
public List<UserTreeNode> getChildrens()
public void addChildren(UserTreeNode child)
public String getId()
public String getDisplayedName()
public static List<UserTreeNode> constructNodes(Collection<DocumentModel> docs)
Copyright © 2011 Nuxeo SA. All Rights Reserved.