Interface OrganizationMembersResource
public interface OrganizationMembersResource
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getAll()
Return all members in the organization.jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
inviteUser
(String email, String firstName, String lastName) Return all organization members that match the specified filters.
-
Method Details
-
addMember
-
getAll
Return all members in the organization.- Returns:
- a list containing the organization members.
-
search
@GET @Produces("application/json") List<UserRepresentation> search(@QueryParam("search") String search, @QueryParam("exact") Boolean exact, @QueryParam("first") Integer first, @QueryParam("max") Integer max) Return all organization members that match the specified filters.- Parameters:
search
- aString
representing either a member's username, e-mail, first name, or last name.exact
- iftrue
, the members will be searched using exact match for thesearch
param - i.e. at least one of the username main attributes must match exactly thesearch
param. If false, the method returns all members with at least one main attribute partially matching thesearch
param.first
- index of the first element (pagination offset).max
- the maximum number of results.- Returns:
- a list containing the matched organization members.
-
getOrganization
@Path("{id}/organization") @GET @Produces("application/json") OrganizationRepresentation getOrganization(@PathParam("id") String id) -
member
-
inviteUser
-
inviteExistingUser
@POST @Path("invite-existing-user") @Consumes("application/x-www-form-urlencoded") jakarta.ws.rs.core.Response inviteExistingUser(@FormParam("id") String id)
-