| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.forgerock.i18n.LocalizedIllegalArgumentException; |
| | | import org.forgerock.i18n.*; |
| | | import org.forgerock.opendj.ldap.*; |
| | | import org.forgerock.opendj.ldap.controls.Control; |
| | | import org.forgerock.opendj.ldap.controls.ControlDecoder; |
| | |
| | | * @throws NullPointerException |
| | | * If {@code attributeDescriptions} was {@code null}. |
| | | */ |
| | | SearchRequest addAttribute(String... attributeDescriptions) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | SearchRequest addAttribute(String... attributeDescriptions); |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | SearchRequest addControl(Control control) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | SearchRequest addControl(Control control); |
| | | |
| | | |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | <C extends Control> C getControl(ControlDecoder<C> decoder, |
| | | DecodeOptions options) throws NullPointerException, DecodeException; |
| | | DecodeOptions options) throws DecodeException; |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code policy} was {@code null}. |
| | | */ |
| | | SearchRequest setDereferenceAliasesPolicy(DereferenceAliasesPolicy policy) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | SearchRequest setDereferenceAliasesPolicy(DereferenceAliasesPolicy policy); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code filter} was {@code null}. |
| | | */ |
| | | SearchRequest setFilter(Filter filter) throws UnsupportedOperationException, |
| | | NullPointerException; |
| | | SearchRequest setFilter(Filter filter); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code filter} was {@code null}. |
| | | */ |
| | | SearchRequest setFilter(String filter) throws UnsupportedOperationException, |
| | | LocalizedIllegalArgumentException, NullPointerException; |
| | | SearchRequest setFilter(String filter); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code dn} was {@code null}. |
| | | */ |
| | | SearchRequest setName(DN dn) throws UnsupportedOperationException, |
| | | NullPointerException; |
| | | SearchRequest setName(DN dn); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code dn} was {@code null}. |
| | | */ |
| | | SearchRequest setName(String dn) throws LocalizedIllegalArgumentException, |
| | | UnsupportedOperationException, NullPointerException; |
| | | SearchRequest setName(String dn); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code scope} was {@code null}. |
| | | */ |
| | | SearchRequest setScope(SearchScope scope) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | SearchRequest setScope(SearchScope scope); |
| | | |
| | | |
| | | |
| | |
| | | * @throws LocalizedIllegalArgumentException |
| | | * If {@code limit} was negative. |
| | | */ |
| | | SearchRequest setSizeLimit(int limit) throws UnsupportedOperationException, |
| | | LocalizedIllegalArgumentException; |
| | | SearchRequest setSizeLimit(int limit); |
| | | |
| | | |
| | | |
| | |
| | | * @throws LocalizedIllegalArgumentException |
| | | * If {@code limit} was negative. |
| | | */ |
| | | SearchRequest setTimeLimit(int limit) throws UnsupportedOperationException, |
| | | LocalizedIllegalArgumentException; |
| | | SearchRequest setTimeLimit(int limit); |
| | | |
| | | |
| | | |
| | |
| | | * If this search request does not permit the types-only parameter |
| | | * to be set. |
| | | */ |
| | | SearchRequest setTypesOnly(boolean typesOnly) |
| | | throws UnsupportedOperationException; |
| | | SearchRequest setTypesOnly(boolean typesOnly); |
| | | |
| | | } |