mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
15.43.2014 62b134351917387ee30ed318f06f0dae766e8b31
opendj3-server-dev/src/server/org/opends/server/protocols/internal/Requests.java
@@ -163,6 +163,20 @@
        return newSearchRequest(name, scope, SearchFilter.createFilterFromString(filter));
    }
    /**
     * Return a new search request object.
     *
     * @param name
     *          the dn
     * @param scope
     *          the search scope
     * @return a new search request object
     * @see #newSearchRequest(DN, SearchScope, SearchFilter, String...)
     */
    public static SearchRequest newSearchRequest(final DN name, final SearchScope scope) {
        return newSearchRequest(name, scope, SearchFilter.objectClassPresent());
    }
    private Requests() {
        // Prevent instantiation.
    }