| 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 |
|---|---|
Organization |
OrganizationService.createOrganization(String name,
String description,
Persona owner)
Creates a new organization and a "SuperUser" membership for the persona.
|
Organization |
OrganizationService.get(String id)
Retrieves an
Organization based on its ID. |
| Modifier and Type | Method and Description |
|---|---|
List<Organization> |
OrganizationService.getOrganizationsForPersona(Persona persona)
Retrieves the Organizations to which a given Persona directly is member/owner of.
|
List<Organization> |
OrganizationService.getOrganizationsFromMemberships(List<OrganizationMembership> memberships)
Extracts all organizations from a list of memberships.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrganizationService.deleteOrganization(Organization organization)
Removes the organization and all related memberships
|
List<OrganizationMembership> |
OrganizationMembershipService.getMembershipsForOrganization(Organization organization)
Retrieves the memberships for a given Organization.
|
| Modifier and Type | Method and Description |
|---|---|
Organization |
OrganizationServiceImpl.createOrganization(String name,
String description,
Persona owner) |
Organization |
OrganizationServiceImpl.get(String id) |
| Modifier and Type | Method and Description |
|---|---|
List<Organization> |
OrganizationServiceImpl.getOrganizationsForPersona(Persona persona) |
List<Organization> |
OrganizationServiceImpl.getOrganizationsFromMemberships(List<OrganizationMembership> memberships) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrganizationServiceImpl.deleteOrganization(Organization organization) |
List<OrganizationMembership> |
OrganizationMembershipServiceImpl.getMembershipsForOrganization(Organization organization) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<Organization,String> |
Organization_.description |
static javax.persistence.metamodel.SingularAttribute<Organization,String> |
Organization_.name |
static javax.persistence.metamodel.SingularAttribute<OrganizationMembership,Organization> |
OrganizationMembership_.organization |
static javax.persistence.metamodel.SingularAttribute<Organization,Persona> |
Organization_.owner |
| Modifier and Type | Method and Description |
|---|---|
Organization |
OrganizationMembership.getOrganization() |
| Constructor and Description |
|---|
OrganizationMembership(Organization organization,
Member member,
Role role) |
OrganizationMembership(String id,
Organization organization,
Member member,
Role role) |
Copyright © 2015 Red Hat, Inc.. All rights reserved.