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)
UserOperationService
UserOperationInformation
for the current user and the given scopes.getUserOperationInformation
in interface UserOperationService
scopes
- the set of scopes to retrieve operation info forpublic List<UserOperation> findAllByScopeIn(@NonNull Collection<String> scopes)
UserOperationService
findAllByScopeIn
in interface UserOperationService
scopes
- the set of scopes to retrieve operations forprotected PermissionRepository getPermissionRepository()
Copyright © 2021. All rights reserved.