| Package | Description |
|---|---|
| org.hawkular.accounts.api | |
| org.hawkular.accounts.api.internal.impl | |
| org.hawkular.accounts.api.model |
Entities related to the API.
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
OperationService.getById(UUID id)
Retrieves the operation by its ID
|
Operation |
OperationService.getByName(String name)
Retrieves the
Operation object for the given name |
Operation |
OperationService.Setup.make()
Instructs the builder that the setup has finished.
|
Operation |
OperationService.produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
CDI producer method for Operation beans annotated with
NamedOperation. |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionService.create(Operation operation,
Role role)
Creates a permission composed of the given operation and role
|
Set<Permission> |
PermissionService.getPermissionsForOperation(Operation operation)
Provides a list of Permissions that exists for the given operation
|
Set<Role> |
PermissionService.getPermittedRoles(Operation operation)
Provides a list of roles that have permission to perform the given operation.
|
boolean |
PermissionChecker.isAllowedTo(Operation operation,
Resource resource)
|
boolean |
PermissionChecker.isAllowedTo(Operation operation,
Resource resource,
Persona persona)
|
boolean |
PermissionChecker.isAllowedTo(Operation operation,
String resourceId)
|
boolean |
PermissionChecker.isAllowedTo(Operation operation,
String resourceId,
Persona persona)
|
OperationService.Setup |
OperationService.setup(Operation operation)
Returns a builder-style instance for fluidly assigning permitted roles for a given operation.
|
| Modifier and Type | Method and Description |
|---|---|
Operation |
OperationServiceImpl.getById(UUID id) |
Operation |
OperationServiceImpl.getByName(String name) |
Operation |
OperationServiceImpl.Setup.make() |
Operation |
OperationServiceImpl.produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint) |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionServiceImpl.create(Operation operation,
Role role) |
Set<Permission> |
PermissionServiceImpl.getPermissionsForOperation(Operation operation) |
Set<Role> |
PermissionServiceImpl.getPermittedRoles(Operation operation) |
boolean |
PermissionCheckerImpl.isAllowedTo(Operation operation,
Resource resource) |
boolean |
PermissionCheckerImpl.isAllowedTo(Operation operation,
Resource resource,
Persona persona) |
boolean |
PermissionCheckerImpl.isAllowedTo(Operation operation,
String resourceId) |
boolean |
PermissionCheckerImpl.isAllowedTo(Operation operation,
String resourceId,
Persona persona) |
OperationServiceImpl.Setup |
OperationServiceImpl.setup(Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
Operation.Builder.build() |
Operation |
Permission.getOperation() |
| Modifier and Type | Method and Description |
|---|---|
Permission.Builder |
Permission.Builder.operation(Operation operation) |
| Constructor and Description |
|---|
Permission(Operation operation,
Role role) |
Permission(String id,
Operation operation,
Role role) |
Permission(UUID id,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
Operation operation,
Role role) |
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.