Interface SharedEntityAccessor.RetrievalDescriptor

All Known Implementing Classes:
IdsRetrievalDescriptor
Enclosing interface:
SharedEntityAccessor<S extends SharedEntity>

public static interface SharedEntityAccessor.RetrievalDescriptor
Used when getting a Collection of shared entities. Describes the ids of the entities to retrieve and whether the order of the result is important.
  • Method Summary

    Modifier and Type
    Method
    Description
    The list of ids to retrieve.
    boolean
    is the order of the id list significant.
  • Method Details

    • getIds

      @Nonnull List<Long> getIds()
      The list of ids to retrieve. This list should only contain unique elements (ie. a Set view would have the same size) and not contain any nulls.
      Returns:
      list of ids to retrieve
    • preserveOrder

      boolean preserveOrder()
      is the order of the id list significant. If so the result should preserve the same iteration order.
      Returns:
      true of the order of the id list should be preserved in the result.