@Generated(value="de.adorsys.datasafe.runtimedelegate.RuntimeDelegateGenerator", comments="This class performs functionality delegation based on contextClass content. If contextClass contains overriding class - it will be used.") public class WriteToInboxImplRuntimeDelegatable extends WriteToInboxImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
WriteToInboxImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
WriteToInboxImplRuntimeDelegatable(OverridesRegistry context,
PublicKeyService publicKeyService,
ResourceResolver resolver,
EncryptedDocumentWriteService writer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
overrideWith(OverridesRegistry context,
Function<WriteToInboxImplRuntimeDelegatable.ArgumentsCaptor,WriteToInboxImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
OutputStream |
write(WriteRequest<Set<UserID>,PublicResource> request)
Shares document with multiple recipients so that each of them can read it using his private key.
|
@Inject public WriteToInboxImplRuntimeDelegatable(@Nullable OverridesRegistry context, PublicKeyService publicKeyService, ResourceResolver resolver, EncryptedDocumentWriteService writer)
context - Context class to search for overrides.public OutputStream write(WriteRequest<Set<UserID>,PublicResource> request)
WriteToInboxImplwrite in interface WriteToInboxwrite in class WriteToInboxImplrequest - Where to write stream (location can be relative/absolute)public static void overrideWith(OverridesRegistry context, Function<WriteToInboxImplRuntimeDelegatable.ArgumentsCaptor,WriteToInboxImpl> ctorCaptor)
Copyright © 2019. All rights reserved.