Interface ExecutableExistsByIdOperation.TerminatingExistsById

All Superinterfaces:
OneAndAllExists
All Known Subinterfaces:
ExecutableExistsByIdOperation.ExecutableExistsById, ExecutableExistsByIdOperation.ExistsByIdInCollection<T>, ExecutableExistsByIdOperation.ExistsByIdInScope<T>, ExecutableExistsByIdOperation.ExistsByIdWithOptions<T>
Enclosing interface:
ExecutableExistsByIdOperation

public static interface ExecutableExistsByIdOperation.TerminatingExistsById extends OneAndAllExists
Terminating operations invoking the actual execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    Performs the operation on the collection of ids.
    boolean
    one(String id)
    Performs the operation on the ID given.
  • Method Details

    • one

      boolean one(String id)
      Performs the operation on the ID given.
      Specified by:
      one in interface OneAndAllExists
      Parameters:
      id - the ID to perform the operation on.
      Returns:
      true if the document exists, false otherwise.
    • all

      Performs the operation on the collection of ids.
      Specified by:
      all in interface OneAndAllExists
      Parameters:
      ids - the ids to check.
      Returns:
      a map consisting of the document IDs as the keys and if they exist as the value.