public boolean isParentOfManagableOU(String name) {

        if (m_isRootAccountManager) {
            return true;
        }

        if (m_isParentOfOU.containsKey(name)) {
            return m_isParentOfOU.get(name).booleanValue();
        }
        for (String ou : m_managableOU) {
            if (ou.startsWith(name)) {
                m_isParentOfOU.put(name, new Boolean(true));
                return true;
            }
        }
        m_isParentOfOU.put(name, new Boolean(false));
        return false;
    }
public boolean isParentOfManagableOU ( String name ) { if ( m_isRootAccountManager ) { return true ; } if ( m_isParentOfOU . containsKey ( name ) ) { return m_isParentOfOU . get ( name ) . booleanValue ( ) ; } for ( String ou : m_managableOU ) { if ( ou . startsWith ( name ) ) { m_isParentOfOU . put ( name , new Boolean ( true ) ) ; return true ; } } m_isParentOfOU . put ( name , new Boolean ( false ) ) ; return false ; }
Checks if given ou is parent of a managable ou.<p>

@param name to check
@return boolean