public class UserTreeNodeHelper extends Object
UserTreeNode
Constructor and Description |
---|
UserTreeNodeHelper() |
Modifier and Type | Method and Description |
---|---|
protected static void |
appendNodes(List<UserTreeNode> root,
String destinationPath,
List<DocumentModel> nodesToCreate)
Append and create UserTreeNode from nodesToCreate list to the rootList.
|
static List<UserTreeNode> |
buildBranch(String branch,
List<DocumentModel> docs) |
static List<UserTreeNode> |
getHierarcicalNodes(List<DocumentModel> docs)
Build UserTreeNode Tree by parsing the name of all docs passed by argument.
|
static String |
getParseString() |
static int |
getParseStringLength() |
protected static ShibbolethGroupsService |
getService() |
static String |
getShibbGroupBasePath() |
protected static UserTreeNode |
searchNode(List<UserTreeNode> from,
String name)
Search a Node where param name is equals to the nodeId
|
public UserTreeNodeHelper()
public static List<UserTreeNode> getHierarcicalNodes(List<DocumentModel> docs)
docs
- list groups that want to be parsedprotected static void appendNodes(List<UserTreeNode> root, String destinationPath, List<DocumentModel> nodesToCreate)
root
- the root UserNodeTree List, may contains some part of the destination pathdestinationPath
- destination path, not splitted.nodesToCreate
- list of documentModel to be created at the destination pathprotected static UserTreeNode searchNode(List<UserTreeNode> from, String name)
public static List<UserTreeNode> buildBranch(String branch, List<DocumentModel> docs)
public static String getParseString()
public static int getParseStringLength()
public static String getShibbGroupBasePath()
protected static ShibbolethGroupsService getService()
Copyright © 2017 Nuxeo. All rights reserved.