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

    Constructors
    Constructor
    Description
    GrpcGroupService(org.alfresco.service.ServiceRegistry services, org.alfresco.rest.api.Groups groups)
    Creates the adapter for native group membership reads.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class org.saidone.restless.api.GroupServiceGrpc.GroupServiceImplBase

    bindService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 transactions
      groups - 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 filter
      observer - receives the page or a mapped repository error