de.uplanet.lucy.server.auxiliaries
Class OrgStructureWrapper

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.OrgStructureWrapper

@VelocityCallable(value="singleton")
public final class OrgStructureWrapper
extends java.lang.Object

Version:
$Revision: 54706 $

Constructor Summary
OrgStructureWrapper()
          Explicit default constructor.
 
Method Summary
 java.util.List<DsSetNode> getMemberSetsFromSetGuid(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strSetGuid)
          Get the member-sets from a given set.
 DsContainerNode getOrgUnit(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strId)
          Get an container node by it's unique identifier.
 de.uplanet.lucy.server.usermanager.orgstructure.DsContainerDepthFirstIterator getOrgUnitDepthFirstIterator(DsContainerNode p_ou)
          Get an iterator over the given container node's subnodes.
 DsContainerParentIterator getParentIterator(DsContainerNode p_node)
          Get an iterator over this node and it's parents.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgStructureWrapper

public OrgStructureWrapper()
Explicit default constructor.

Method Detail

getMemberSetsFromSetGuid

public java.util.List<DsSetNode> getMemberSetsFromSetGuid(de.uplanet.jdbc.JdbcConnection p_conn,
                                                          java.lang.String p_strSetGuid)
Get the member-sets from a given set.

Parameters:
p_strSetGuid - The set node's GUID.
Returns:
The set nodes, or empty list if none was found for the given unique identifier.

getOrgUnit

public DsContainerNode getOrgUnit(de.uplanet.jdbc.JdbcConnection p_conn,
                                  java.lang.String p_strId)
Get an container node by it's unique identifier.

"root" returns the root node.

Parameters:
p_strId - The container node's unique identifier.
Returns:
The container node, or null if none was found for the given unique identifier.

getParentIterator

public DsContainerParentIterator getParentIterator(DsContainerNode p_node)
Get an iterator over this node and it's parents.

Parameters:
p_node - The starting node.
Returns:
The iterator.

getOrgUnitDepthFirstIterator

public de.uplanet.lucy.server.usermanager.orgstructure.DsContainerDepthFirstIterator getOrgUnitDepthFirstIterator(DsContainerNode p_ou)
Get an iterator over the given container node's subnodes.

Parameters:
p_ou - The root of the subtree.
Returns:
The iterator.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.