this.searchScope = searchSubtree ? SearchControls.SUBTREE_SCOPE : SearchControls.ONELEVEL_SCOPE;
searchControls.setSearchScope(searchSubtree ? SearchControls.SUBTREE_SCOPE : SearchControls.ONELEVEL_SCOPE);
    public void setSearchSubtree(boolean searchSubtree) {//        this.searchSubtree = searchSubtree;        this.searchScope = searchSubtree ?                SearchControls.SUBTREE_SCOPE : SearchControls.ONELEVEL_SCOPE;    }