@PermitAll public class OperationServiceImpl extends BaseServiceImpl<Operation> implements OperationService
OperationService.OperationService| Modifier and Type | Class and Description |
|---|---|
class |
OperationServiceImpl.Setup |
| Constructor and Description |
|---|
OperationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getById(UUID id)
Retrieves the operation by its ID
|
Operation |
getByName(String name)
Retrieves the
Operation object for the given name |
Operation |
produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
CDI producer method for Operation beans annotated with
NamedOperation. |
OperationServiceImpl.Setup |
setup(Operation operation)
Returns a builder-style instance for fluidly assigning permitted roles for a given operation.
|
OperationServiceImpl.Setup |
setup(String operationName)
Returns a builder-style instance for fluidly assigning permitted roles for an operation with the given name.
|
getByIdpublic Operation getByName(String name)
OperationServiceOperation object for the given namegetByName in interface OperationServicename - unique operation namepublic Operation getById(UUID id)
OperationServicegetById in interface OperationServiceid - the operation's ID@Produces public Operation produceOperationByName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
OperationServiceNamedOperation. This method is not intended to be called by
consumers of the API.produceOperationByName in interface OperationServiceinjectionPoint - the CDI InjectionPointpublic OperationServiceImpl.Setup setup(Operation operation)
OperationServicesetup in interface OperationServiceOperationService.Setup instance.public OperationServiceImpl.Setup setup(String operationName)
OperationServiceIf no operations are found by that name, a new one is created.
setup in interface OperationServiceoperationName - the operation nameCopyright © 2015 Red Hat, Inc.. All rights reserved.