All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hcl.domino.data.FormulaQueryResult Maven / Gradle / Ivy

There is a newer version: 1.41.0
Show newest version
/*
 * ==========================================================================
 * Copyright (C) 2019-2022 HCL America, Inc. ( http://www.hcl.com/ )
 *                            All rights reserved.
 * ==========================================================================
 * Licensed under the  Apache License, Version 2.0  (the "License").  You may
 * not use this file except in compliance with the License.  You may obtain a
 * copy of the License at .
 *
 * Unless  required  by applicable  law or  agreed  to  in writing,  software
 * distributed under the License is distributed on an  "AS IS" BASIS, WITHOUT
 * WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the  specific language  governing permissions  and limitations
 * under the License.
 * ==========================================================================
 */
package com.hcl.domino.data;

import java.util.List;
import java.util.Optional;

import com.hcl.domino.data.Database.SearchMatch;

public interface FormulaQueryResult extends DbQueryResult {

  /**
   * Returns detail infos about documents that got deleted
   * since the specified since date/time.
   * Can be used to update external
   * indexes, e.g. remove a document from an external index
   * when it got deleted in Domino.
   *
   * @return deletions
   */
  List getDeletions();

  /**
   * Returns detail infos about search matches like
   * modified dates, document classes and the UNID.
   *
   * @return search matches
   */
  List getMatches();

  /**
   * Returns detail infos about documents not matching
   * the search formula, if a since date/time
   * has been specified. Can be used to update external
   * indexes, e.g. remove a document from an external index
   * when it has matched the search formula before, but the
   * last doc change made it a no-match.
   *
   * @return search non-matches
   */
  List getNonMatches();

  @Override
  Optional getNoteIds();

  /**
   * Same as {@link IDTable#getDateTime()} of the IDTable returned by
   * {@link #getNoteIds()}. Can be used for incremental database searches
   * if set as since value in the next search.
   *
   * @return date/time of search
   */
  DominoDateTime getUntil();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy