Package it.tidalwave.datamanager.model
Interface DataManager.ManagedFileFinder
- All Superinterfaces:
Cloneable
,it.tidalwave.util.spi.ExtendedFinderSupport<ManagedFile,
,DataManager.ManagedFileFinder> it.tidalwave.util.Finder<ManagedFile>
,Serializable
- Enclosing interface:
- DataManager
public static interface DataManager.ManagedFileFinder
extends it.tidalwave.util.spi.ExtendedFinderSupport<ManagedFile,DataManager.ManagedFileFinder>
A
Finder
for querying ManagedFile
s.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic 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 TypeMethodDescriptiondefault DataManager.ManagedFileFinder
withFingerprint
(String fingerprint) Specifies that returnedManagedFile
s must contain the given fingerprint.withFingerprint
(Optional<String> fingerprint) Specifies that returnedManagedFile
s must contain the given fingerprint.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
-
withFingerprint
Specifies that returnedManagedFile
s must contain the given fingerprint.- Parameters:
fingerprint
- the fingerprint- Returns:
- the same finder in fluent style
-
withFingerprint
Specifies that returnedManagedFile
s must contain the given fingerprint.- Parameters:
fingerprint
- the fingerprint- Returns:
- the same finder in fluent style
-