@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 ProfileRemovalServiceImplRuntimeDelegatable extends ProfileRemovalServiceImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileRemovalServiceImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
ProfileRemovalServiceImplRuntimeDelegatable(OverridesRegistry context,
PrivateKeyService privateKeyService,
KeyStoreCache keyStoreCache,
UserProfileCache profileCache,
StorageListService listService,
BucketAccessService access,
DFSConfig dfsConfig,
StorageRemoveService removeService,
ProfileRetrievalService retrievalService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupProfileCache(UserID forUser) |
void |
deregister(UserIDAuth userID)
Removes users' public and private profile, keystore, public keys and INBOX and private files
|
static void |
overrideWith(OverridesRegistry context,
Function<ProfileRemovalServiceImplRuntimeDelegatable.ArgumentsCaptor,ProfileRemovalServiceImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
protected void |
removeUserProfileFiles(UserID forUser) |
@Inject public ProfileRemovalServiceImplRuntimeDelegatable(@Nullable OverridesRegistry context, PrivateKeyService privateKeyService, KeyStoreCache keyStoreCache, UserProfileCache profileCache, StorageListService listService, BucketAccessService access, DFSConfig dfsConfig, StorageRemoveService removeService, ProfileRetrievalService retrievalService)
context - Context class to search for overrides.public void deregister(UserIDAuth userID)
ProfileRemovalServiceImplderegister in interface ProfileRemovalServicederegister in class ProfileRemovalServiceImplprotected void removeUserProfileFiles(UserID forUser)
removeUserProfileFiles in class ProfileRemovalServiceImplprotected void cleanupProfileCache(UserID forUser)
cleanupProfileCache in class ProfileRemovalServiceImplpublic static void overrideWith(OverridesRegistry context, Function<ProfileRemovalServiceImplRuntimeDelegatable.ArgumentsCaptor,ProfileRemovalServiceImpl> ctorCaptor)
Copyright © 2019. All rights reserved.