public interface OrganizationJoinRequestService
| Modifier and Type | Method and Description |
|---|---|
OrganizationJoinRequest |
accept(OrganizationJoinRequest request,
Role role)
Accepts a previously created join request
|
OrganizationJoinRequest |
create(Organization organization,
Persona persona)
Creates a new Join Request on the given Organization by the given Persona
|
List<OrganizationJoinRequest> |
getAllRequestsForOrganization(Organization organization)
Lists all join requests for the given organization, no matter the status
|
List<OrganizationJoinRequest> |
getAllRequestsForPersona(Persona persona)
Lists all join requests for the given persona, no matter the status
|
OrganizationJoinRequest |
getById(UUID uuid)
Retrieve a specific Join Request based on its ID
|
List<OrganizationJoinRequest> |
getPendingRequestsForOrganization(Organization organization)
Lists the PENDING join requests for the given organization
|
OrganizationJoinRequest |
reject(OrganizationJoinRequest request)
Rejects a previously created join request
|
void |
remove(OrganizationJoinRequest request)
Removes a join request from the permanent storage
|
OrganizationJoinRequest getById(UUID uuid)
OrganizationJoinRequest create(Organization organization, Persona persona)
organization - the organization the persona wants to joinpersona - the persona who wants to join the organizationOrganizationJoinRequest accept(OrganizationJoinRequest request, Role role)
request - the join request that is being acceptedOrganizationJoinRequest reject(OrganizationJoinRequest request)
request - the join request that is being rejectedvoid remove(OrganizationJoinRequest request)
request - the join request to removeList<OrganizationJoinRequest> getPendingRequestsForOrganization(Organization organization)
organization - the organization to list the pending requestsList<OrganizationJoinRequest> getAllRequestsForOrganization(Organization organization)
organization - the organization to list the requestsList<OrganizationJoinRequest> getAllRequestsForPersona(Persona persona)
persona - the personaCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.