Interface ExecutableFindByIdOperation.TerminatingFindById<T>

Type Parameters:
T - the entity type to use for the results.
All Superinterfaces:
OneAndAllId<T>
All Known Subinterfaces:
ExecutableFindByIdOperation.ExecutableFindById<T>, ExecutableFindByIdOperation.FindByIdInCollection<T>, ExecutableFindByIdOperation.FindByIdInScope<T>, ExecutableFindByIdOperation.FindByIdWithExpiry<T>, ExecutableFindByIdOperation.FindByIdWithLock<T>, ExecutableFindByIdOperation.FindByIdWithOptions<T>, ExecutableFindByIdOperation.FindByIdWithProjection<T>
Enclosing interface:
ExecutableFindByIdOperation

public static interface ExecutableFindByIdOperation.TerminatingFindById<T> extends OneAndAllId<T>
Terminating operations invoking the actual execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<? extends T>
    Finds a list of documents based on the given IDs.
    one(String id)
    Finds one document based on the given ID.
  • Method Details

    • one

      T one(String id)
      Finds one document based on the given ID.
      Specified by:
      one in interface OneAndAllId<T>
      Parameters:
      id - the document ID.
      Returns:
      the entity if found.
    • all

      Collection<? extends T> all(Collection<String> ids)
      Finds a list of documents based on the given IDs.
      Specified by:
      all in interface OneAndAllId<T>
      Parameters:
      ids - the document ID ids.
      Returns:
      the list of found entities.