Interface OrganizationGroupResource


public interface OrganizationGroupResource
Resource for managing a single organization group.
  • Method Details

    • toRepresentation

      @GET @Produces("application/json") GroupRepresentation toRepresentation()
    • update

      @PUT @Consumes("application/json") jakarta.ws.rs.core.Response update(GroupRepresentation rep)
    • delete

      @DELETE void delete()
    • getSubGroups

      @GET @Path("children") @Produces("application/json") List<GroupRepresentation> getSubGroups(@QueryParam("search") String search, @QueryParam("exact") Boolean exact, @QueryParam("first") Integer first, @QueryParam("max") Integer max)
    • addSubGroup

      @POST @Path("children") @Consumes("application/json") jakarta.ws.rs.core.Response addSubGroup(GroupRepresentation rep)
    • getMembers

      @GET @Path("members") @Produces("application/json") List<MemberRepresentation> getMembers(@QueryParam("first") Integer first, @QueryParam("max") Integer max, @QueryParam("briefRepresentation") Boolean briefRepresentation)
    • addMember

      @PUT @Path("members/{userId}") void addMember(@PathParam("userId") String userId)
    • removeMember

      @DELETE @Path("members/{userId}") void removeMember(@PathParam("userId") String userId)