Interface VersionedDatasafeServices
@Singleton
@Component(modules={DefaultCredentialsModule.class,DefaultKeyStoreModule.class,DefaultDocumentModule.class,DefaultCMSEncryptionModule.class,DefaultPathEncryptionModule.class,DefaultInboxActionsModule.class,DefaultPrivateActionsModule.class,DefaultVersionedPrivateActionsModule.class,DefaultProfileModule.class,DefaultStorageModule.class})
public interface VersionedDatasafeServices
This is Datasafe services that always work with latest file version using `software` versioning.
Note, that despite is has
@Singleton annotation, it is not real singleton, the only shared thing
across all services instantiated using build() is bindings with Singleton in its Module.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBinds DFS connection (for example filesystem, minio) and system storage and access -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
versionInfo
DefaultVersionInfoServiceImpl versionInfo()- Returns:
- Provides version information for a given resource (shows only versioned resources)
-
latestPrivate
VersionedPrivateSpaceService<LatestDFSVersion> latestPrivate()- Returns:
- Filtered view of user's private space, that shows only latest files (works only with versioned resources)
-
privateService
PrivateSpaceService privateService()- Returns:
- Raw view of private user space (shows everything - all versioned and not versioned)
-
inboxService
InboxService inboxService()- Returns:
- Inbox service that provides capability to share data between users
-
userProfile
ProfileOperations userProfile()- Returns:
- User-profile service that provides information necessary for locating his data.
-