Class ProfileRetrievalServiceImpl
java.lang.Object
de.adorsys.datasafe.directory.impl.profile.operations.actions.ProfileRetrievalServiceImpl
- All Implemented Interfaces:
ProfileRetrievalService
- Direct Known Subclasses:
ProfileRetrievalServiceImplRuntimeDelegatable
-
Constructor Summary
ConstructorsConstructorDescriptionProfileRetrievalServiceImpl(DFSConfig dfsConfig, StorageReadService readService, StorageCheckService checkService, BucketAccessService access, GsonSerde serde, UserProfileCache userProfileCache) -
Method Summary
Modifier and TypeMethodDescriptionprivateProfile(UserIDAuth ofUser) Reads user private profile from DFS, usesUserProfileCachefor caching itpublicProfile(UserID ofUser) Reads user public profile from DFS, usesUserProfileCachefor caching itbooleanuserExists(UserID ofUser) Checks if user exists by validating that his both public and private profile files do exist.
-
Constructor Details
-
ProfileRetrievalServiceImpl
@Inject public ProfileRetrievalServiceImpl(DFSConfig dfsConfig, StorageReadService readService, StorageCheckService checkService, BucketAccessService access, GsonSerde serde, UserProfileCache userProfileCache)
-
-
Method Details
-
publicProfile
Reads user public profile from DFS, usesUserProfileCachefor caching it- Specified by:
publicProfilein interfaceProfileRetrievalService
-
privateProfile
Reads user private profile from DFS, usesUserProfileCachefor caching it- Specified by:
privateProfilein interfaceProfileRetrievalService
-
userExists
Checks if user exists by validating that his both public and private profile files do exist.- Specified by:
userExistsin interfaceProfileRetrievalService
-