org.nuxeo.ecm.platform.shibboleth.web.tree
Class UserTreeNodeHelper
java.lang.Object
org.nuxeo.ecm.platform.shibboleth.web.tree.UserTreeNodeHelper
public class UserTreeNodeHelper
- extends Object
Helper class to provide some method with UserTreeNode
- Author:
- Arnaud Kervern
- See Also:
UserTreeNode
UserTreeNodeHelper
public UserTreeNodeHelper()
getHierarcicalNodes
public static List<UserTreeNode> getHierarcicalNodes(List<DocumentModel> docs)
- Build UserTreeNode Tree by parsing the name of all docs passed by argument.
It uses Shibboleth Service parse char definition to split doc name.
- Parameters:
docs
- list groups that want to be parsed
- Returns:
- tree built, and an empty list if docs is null or empty.
buildBranch
public static List<UserTreeNode> buildBranch(String branch,
List<DocumentModel> docs)
getParseString
public static String getParseString()
getParseStringLength
public static int getParseStringLength()
getShibbGroupBasePath
public static String getShibbGroupBasePath()
Copyright © 2012 Nuxeo SA. All Rights Reserved.