Interface DataManager.BackupFinder

All Superinterfaces:
Cloneable, it.tidalwave.util.spi.ExtendedFinderSupport<Backup,DataManager.BackupFinder>, it.tidalwave.util.Finder<Backup>, Serializable
Enclosing interface:
DataManager

public static interface DataManager.BackupFinder extends it.tidalwave.util.spi.ExtendedFinderSupport<Backup,DataManager.BackupFinder>
A Finder for querying Backups.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Sorting keys.

    Nested classes/interfaces inherited from interface it.tidalwave.util.Finder

    it.tidalwave.util.Finder.InMemorySortCriterion<U extends Object>, it.tidalwave.util.Finder.SortCriterion, it.tidalwave.util.Finder.SortDirection
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies that returned Backups contains the file with the given volume id.
    Specifies that returned Backups with the given label.
    Specifies that returned Backups with the given volume id.

    Methods inherited from interface it.tidalwave.util.spi.ExtendedFinderSupport

    from, max, sort, sort, withContext

    Methods inherited from interface it.tidalwave.util.Finder

    count, firstResult, forEach, from, from, iterator, max, max, ofType, optionalFirstResult, optionalResult, result, results, stream
  • Method Details

    • withLabel

      @Nonnull DataManager.BackupFinder withLabel(@Nonnull Optional<String> label)
      Specifies that returned Backups with the given label.
      Parameters:
      label - the label
      Returns:
      the same finder in fluent style
    • withVolumeId

      @Nonnull DataManager.BackupFinder withVolumeId(@Nonnull Optional<String> volumeId)
      Specifies that returned Backups with the given volume id.
      Parameters:
      volumeId - the volume id
      Returns:
      the same finder in fluent style
    • withFileId

      @Nonnull DataManager.BackupFinder withFileId(@Nonnull Optional<String> fileId)
      Specifies that returned Backups contains the file with the given volume id.
      Parameters:
      fileId - the file id
      Returns:
      the same finder in fluent style