Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.platform.shibboleth.web.tree
Class UserTreeNodeHelper

java.lang.Object
  extended by 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

Constructor Summary
UserTreeNodeHelper()
           
 
Method Summary
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()
           
static String getShibbGroupBasePath()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTreeNodeHelper

public UserTreeNodeHelper()
Method Detail

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()

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.