Package de.xima.fc.logic.filesystem
Class EntryScope<Scope,Entry extends IFileSystemEntry<Entry>>
- java.lang.Object
-
- de.xima.fc.logic.filesystem.EntryScope<Scope,Entry>
-
- Type Parameters:
Scope
- The type of the scope.Entry
- The type of the file system entries.
public final class EntryScope<Scope,Entry extends IFileSystemEntry<Entry>> extends Object
Combines a scope with a list of file system entries, intended to be used with e.g.IScopedEntityPersistenceAdapter
. When the entries are empty, lists all files in the given scope. When the entries are not empty, limits the result to the given entries.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description EntryScope(Scope scope, List<Entry> entries)
Creates a new combination of a scope with a list of file system entries.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Entry>
entries()
Gets the list of file system entries to which to limit the result.Scope
scope()
Gets the scope to which the entries belong.
-
-
-
Constructor Detail
-
EntryScope
public EntryScope(Scope scope, List<Entry> entries)
Creates a new combination of a scope with a list of file system entries.- Parameters:
scope
- The scope to which the entries belong.entries
- The list of file system entries to which to limit the result. If empty, no restriction applies.
-
-