Package org.saidone.restless.platform
Class GrpcGroupService
java.lang.Object
org.saidone.restless.api.GroupServiceGrpc.GroupServiceImplBase
org.saidone.restless.platform.GrpcGroupService
- All Implemented Interfaces:
io.grpc.BindableService,org.saidone.restless.api.GroupServiceGrpc.AsyncService
public final class GrpcGroupService
extends org.saidone.restless.api.GroupServiceGrpc.GroupServiceImplBase
Lists a person's groups using the native endpoint's authorization, filters and paging.
-
Constructor Summary
ConstructorsConstructorDescriptionGrpcGroupService(org.alfresco.service.ServiceRegistry services, org.alfresco.rest.api.Groups groups) Creates the adapter for native group membership reads. -
Method Summary
Modifier and TypeMethodDescriptionvoidgetGroupsByPersonId(org.saidone.restless.api.GroupsByPersonRequest request, io.grpc.stub.StreamObserver<org.saidone.restless.api.GroupsByPersonResponse> observer) Lists a caller's own memberships, or another person's memberships when allowed by Alfresco.Methods inherited from class org.saidone.restless.api.GroupServiceGrpc.GroupServiceImplBase
bindService
-
Constructor Details
-
GrpcGroupService
public GrpcGroupService(org.alfresco.service.ServiceRegistry services, org.alfresco.rest.api.Groups groups) Creates the adapter for native group membership reads.- Parameters:
services- repository service registry for caller-scoped transactionsgroups- native Alfresco groups API
-
-
Method Details
-
getGroupsByPersonId
public void getGroupsByPersonId(org.saidone.restless.api.GroupsByPersonRequest request, io.grpc.stub.StreamObserver<org.saidone.restless.api.GroupsByPersonResponse> observer) Lists a caller's own memberships, or another person's memberships when allowed by Alfresco.- Parameters:
request- person ID or-me-, paging and optional sort and filterobserver- receives the page or a mapped repository error
-