|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.thortech.xl.util.adapters.tcUtilLDAPOrganizationHierarchy
public class tcUtilLDAPOrganizationHierarchy
Utility class that creates the organization hierarchy from an LDAP perspective in a vector. Uses the lookup LDAP.Organization.Type.Map to map organization types ("Company",...) to object types ("OU",...)
Nishant Kaushik
January 22, 2002
| Constructor Summary | |
|---|---|
tcUtilLDAPOrganizationHierarchy(com.thortech.xl.dataaccess.tcDataProvider DataBase)Creates a new tcUtilLDAPOrganizationHierarchy object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHierarchyString(java.lang.String psActKey)Returns the hierarchy string |
java.util.Vector |
getHierarchyVector(java.lang.String psActKey)Returns the hierarchy vector |
java.lang.String |
getParentHierarchyString(java.lang.String psActKey)Returns the hierarchy string of the organization that is the parent of the specified organization |
java.util.Vector |
getParentHierarchyVector(java.lang.String psActKey)Returns the hierarchy vector of the organization that is the parent of the specified organization |
java.lang.String |
getPathFromVector(java.util.Vector hierarchy)Uses the hierarchy vector of string arrays (of format {Class Type, Object CN}) to build the hierarchy string |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public tcUtilLDAPOrganizationHierarchy(com.thortech.xl.dataaccess.tcDataProvider DataBase)
DataBase -| Method Detail |
|---|
public java.util.Vector getHierarchyVector(java.lang.String psActKey)
psActKey - the organization whose hierarchy needsd to be built (inclusive)public java.lang.String getHierarchyString(java.lang.String psActKey)
psActKey - the organization whose hierarchy needsd to be built (inclusive)CN=Dumbo,OU=Leaders,OU=Elephants,DC=thordev,DC=compublic java.util.Vector getParentHierarchyVector(java.lang.String psActKey)
psActKey - the organization whose parent hierarchy needs to be built (exclusive)public java.lang.String getParentHierarchyString(java.lang.String psActKey)
psActKey - the organization whose parent hierarchy needs to be builtCN=Dumbo,OU=Leaders,OU=Elephants,DC=thordev,DC=compublic java.lang.String getPathFromVector(java.util.Vector hierarchy)
hierarchyVector -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||