public void setScope ( String strScope ) throws ApplicationException { strScope = strScope . trim ( ) . toLowerCase ( ) ; if ( strScope . equals ( "onelevel" ) ) scope = SearchControls . ONELEVEL_SCOPE ; else if ( strScope . equals ( "base" ) ) scope = SearchControls . OBJECT_SCOPE ; else if ( strScope . equals ( "subtree" ) ) scope = SearchControls . SUBTREE_SCOPE ; else throw new ApplicationException ( "invalid value for attribute scope [" + strScope + "], valid values are [oneLevel,base,subtree]" ) ; }
Specifies the scope of the search from the entry specified in the Start attribute for action = Query .