public class EncryptedLatestLinkServiceImpl extends Object implements EncryptedLatestLinkService
UserPrivateProfile.getDocumentVersionStorage(). Those links have encrypted path by
EncryptedResourceResolver and point to versioned blobs within privatespace (so that link
content is always relative resource location inside privatespace)| Constructor and Description |
|---|
EncryptedLatestLinkServiceImpl(EncryptedResourceResolver resolver,
PrivateSpaceService privateSpace,
ProfileRetrievalService profiles) |
| Modifier and Type | Method and Description |
|---|---|
Function<AbsoluteLocation<PrivateResource>,AbsoluteLocation<PrivateResource>> |
linkDecryptingReader(UserIDAuth owner,
StorageIdentifier identifier) |
AbsoluteLocation<PrivateResource> |
resolveLatestLinkLocation(UserIDAuth owner,
PrivateResource resource,
StorageIdentifier identifier) |
@Inject public EncryptedLatestLinkServiceImpl(EncryptedResourceResolver resolver, PrivateSpaceService privateSpace, ProfileRetrievalService profiles)
public AbsoluteLocation<PrivateResource> resolveLatestLinkLocation(UserIDAuth owner, PrivateResource resource, StorageIdentifier identifier)
resolveLatestLinkLocation in interface EncryptedLatestLinkServicepublic Function<AbsoluteLocation<PrivateResource>,AbsoluteLocation<PrivateResource>> linkDecryptingReader(UserIDAuth owner, StorageIdentifier identifier)
linkDecryptingReader in interface EncryptedLatestLinkServiceCopyright © 2019. All rights reserved.