| Package | Description |
|---|---|
| org.hawkular.accounts.api |
Provides the main API for Hawkular components intending to perform permission checking and authorization procedures.
|
| org.hawkular.accounts.api.internal.impl | |
| org.hawkular.accounts.api.model |
Entities related to the API.
|
| Modifier and Type | Method and Description |
|---|---|
Invitation |
InvitationService.accept(Invitation invitation,
HawkularUser user)
Marks an invitation as accepted, converting the data from
Invitation into an
OrganizationMembership |
Invitation |
InvitationService.create(String email,
HawkularUser invitedBy,
Organization organization,
Role role)
Stores an invitation with the given parameters.
|
Invitation |
InvitationService.get(String id)
Retrieves an
Invitation based on the ID. |
Invitation |
InvitationService.getByToken(String token)
Retrieves an
Invitation based on the token. |
| Modifier and Type | Method and Description |
|---|---|
List<Invitation> |
InvitationService.getInvitationsForOrganization(Organization organization)
Retrieves all invitations for the given organization.
|
List<Invitation> |
InvitationService.getPendingInvitationsForOrganization(Organization organization)
Retrieves the pending invitations for the given organization.
|
| Modifier and Type | Method and Description |
|---|---|
Invitation |
InvitationService.accept(Invitation invitation,
HawkularUser user)
Marks an invitation as accepted, converting the data from
Invitation into an
OrganizationMembership |
void |
InvitationService.remove(Invitation invitation)
Remove the invitation from the storage.
|
| Modifier and Type | Method and Description |
|---|---|
Invitation |
InvitationServiceImpl.accept(Invitation invitation,
HawkularUser user) |
Invitation |
InvitationServiceImpl.create(String email,
HawkularUser invitedBy,
Organization organization,
Role role) |
Invitation |
InvitationServiceImpl.get(String id) |
Invitation |
InvitationServiceImpl.getByToken(String token) |
| Modifier and Type | Method and Description |
|---|---|
List<Invitation> |
InvitationServiceImpl.getInvitationsForOrganization(Organization organization) |
List<Invitation> |
InvitationServiceImpl.getPendingInvitationsForOrganization(Organization organization) |
| Modifier and Type | Method and Description |
|---|---|
Invitation |
InvitationServiceImpl.accept(Invitation invitation,
HawkularUser user) |
void |
InvitationServiceImpl.remove(Invitation invitation) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<Invitation,ZonedDateTime> |
Invitation_.acceptedAt |
static javax.persistence.metamodel.SingularAttribute<Invitation,HawkularUser> |
Invitation_.acceptedBy |
static javax.persistence.metamodel.SingularAttribute<Invitation,ZonedDateTime> |
Invitation_.dispatchedAt |
static javax.persistence.metamodel.SingularAttribute<Invitation,String> |
Invitation_.email |
static javax.persistence.metamodel.SingularAttribute<Invitation,HawkularUser> |
Invitation_.invitedBy |
static javax.persistence.metamodel.SingularAttribute<Invitation,Organization> |
Invitation_.organization |
static javax.persistence.metamodel.SingularAttribute<Invitation,Role> |
Invitation_.role |
static javax.persistence.metamodel.SingularAttribute<Invitation,String> |
Invitation_.token |
Copyright © 2015 Red Hat, Inc.. All rights reserved.