code: 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]");
      }
docs: Specifies the scope of the search from the entry specified in the Start attribute for action =
  "Query".
  
  @param strScope The scope to set.
  @throws ApplicationException