public class OperationServiceImpl.Setup extends Object implements OperationService.Setup
| Modifier and Type | Method and Description |
|---|---|
OperationService.Setup |
add(Role... roles)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
OperationService.Setup |
add(Role role)
Adds a new role for the current operation
|
OperationService.Setup |
add(Role role1,
Role role2)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
OperationService.Setup |
add(Role role1,
Role role2,
Role role3)
Adds new roles for the current operation with identical semantics as
OperationService.Setup.add(Role). |
OperationService.Setup |
add(String roleName)
Adds a new role for the current operation.
|
OperationService.Setup |
clear()
Removes all current roles from the operation.
|
Operation |
make()
Instructs the builder that the setup has finished.
|
OperationService |
persist()
Instructs the builder that the setup has finished and changes are effectively applied.
|
public OperationService.Setup add(Role role)
OperationService.Setupadd in interface OperationService.Setuprole - the role to add, cannot be nullpublic OperationService.Setup add(String roleName)
OperationService.Setupadd in interface OperationService.SetuproleName - the role name to be retrieved and to added to the operationpublic OperationService.Setup add(Role role1, Role role2)
OperationService.SetupOperationService.Setup.add(Role).add in interface OperationService.Setuprole1 - the first role to addrole2 - the second role to addOperationService.Setup.add(Role)public OperationService.Setup add(Role role1, Role role2, Role role3)
OperationService.SetupOperationService.Setup.add(Role).add in interface OperationService.Setuprole1 - the first role to addrole2 - the second role to addrole3 - the third role to addOperationService.Setup.add(Role)public OperationService.Setup add(Role... roles)
OperationService.SetupOperationService.Setup.add(Role).add in interface OperationService.Setuproles - the roles to addOperationService.Setup.add(Role)public OperationService.Setup clear()
OperationService.Setupclear in interface OperationService.Setuppublic OperationService persist()
OperationService.Setuppersist in interface OperationService.Setuppublic Operation make()
OperationService.Setupmake in interface OperationService.SetupCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.