| | |
| | | import org.opends.server.types.Control; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.DereferencePolicy; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchResultEntry; |
| | | import org.opends.server.types.SearchResultReference; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines a subclass of the core search operation that is |
| | | * to be used for internal searches. The primary difference between |
| | |
| | | public class InternalSearchOperation |
| | | extends SearchOperation |
| | | { |
| | | |
| | | |
| | | |
| | | // The internal search listener for this search, if one was |
| | | // provided. |
| | | private InternalSearchListener searchListener; |
| | |
| | | * |
| | | * @param searchEntry The search result entry returned for this |
| | | * search. |
| | | * |
| | | * @throws DirectoryException If a problem occurs while processing |
| | | * the provided entry and the search |
| | | * should be terminated. |
| | | */ |
| | | public void addSearchEntry(SearchResultEntry searchEntry) |
| | | throws DirectoryException |
| | | { |
| | | if (searchListener == null) |
| | | { |
| | |
| | | * |
| | | * @param searchReference The search result reference returned for |
| | | * this search. |
| | | * |
| | | * @throws DirectoryException If a problem occurs while processing |
| | | * the provided reference and the |
| | | * search should be terminated. |
| | | */ |
| | | public void addSearchReference( |
| | | SearchResultReference searchReference) |
| | | throws DirectoryException |
| | | { |
| | | if (searchListener == null) |
| | | { |