public class DefaultUserOperationService extends Object implements UserOperationService
| Constructor and Description |
|---|
DefaultUserOperationService(PermissionRepository permissionRepository) |
| Modifier and Type | Method and Description |
|---|---|
List<UserOperation> |
findAllByScopeIn(Collection<String> scopes)
Finds all user operations tied to the provided set of scopes.
|
protected PermissionRepository |
getPermissionRepository() |
UserOperationInformation |
getUserOperationInformation(Collection<String> scopes)
Finds the
UserOperationInformation for the current user and the given scopes. |
public DefaultUserOperationService(PermissionRepository permissionRepository)
public UserOperationInformation getUserOperationInformation(@NonNull Collection<String> scopes)
UserOperationServiceUserOperationInformation for the current user and the given scopes.getUserOperationInformation in interface UserOperationServicescopes - the set of scopes to retrieve operation info forpublic List<UserOperation> findAllByScopeIn(@NonNull Collection<String> scopes)
UserOperationServicefindAllByScopeIn in interface UserOperationServicescopes - the set of scopes to retrieve operations forprotected PermissionRepository getPermissionRepository()
Copyright © 2021. All rights reserved.