Package de.xima.fc.logic.filesystem
Class EntityFileSystem.BuilderStage2<Entry extends IFileSystemEntry<Entry>,Entity,Scope>
- java.lang.Object
-
- de.xima.fc.logic.filesystem.EntityFileSystem.BuilderStage2<Entry,Entity,Scope>
-
- Type Parameters:
Entry
- The type of the file system entry.Entity
- The type of the file entity.Scope
- The type of the scope for the entities, such as a client or project.
- Enclosing class:
- EntityFileSystem<Entry extends IFileSystemEntry<Entry>,PersistenceContext,Entity,Scope>
public static final class EntityFileSystem.BuilderStage2<Entry extends IFileSystemEntry<Entry>,Entity,Scope> extends Object
A builder for configuring a newEntityFileSystem
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <PersistenceContext>
EntityFileSystem.BuilderStage3<Entry,PersistenceContext,Entity,Scope>persistenceAdapter(IEntityFileSystemPersistenceAdapter<PersistenceContext,Entity,EntryScope<Scope,Entry>> persistenceAdapter)
Sets the persistence adapter for synchronizing the entities with the persistence layer.
-
-
-
Method Detail
-
persistenceAdapter
public <PersistenceContext> EntityFileSystem.BuilderStage3<Entry,PersistenceContext,Entity,Scope> persistenceAdapter(IEntityFileSystemPersistenceAdapter<PersistenceContext,Entity,EntryScope<Scope,Entry>> persistenceAdapter)
Sets the persistence adapter for synchronizing the entities with the persistence layer.- Type Parameters:
PersistenceContext
- The type of the persistence context used to access the persistence layer.- Parameters:
persistenceAdapter
- The persistence adapter for the entities.- Returns:
- A builder instance for chaining method calls.
-
-