|
JBoss Security SPI - Aggregator 2.0.4.SP8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleGroup
Represents a group of roles
| Method Summary | |
|---|---|
void |
addAll(List<Role> roles)
Adds all specified roles to the RoleGroup instance. |
void |
addRole(Role aRole)
Add a role |
void |
clearRoles()
Clear all the roles |
boolean |
containsAtleastOneRole(RoleGroup anotherRoleGroup)
Validates whether there is at least one matching role in "anotherRoleGroup" |
boolean |
containsRole(Role aRole)
Validates whether a simple role is available |
List<Role> |
getRoles()
Get the roles contained |
void |
removeRole(Role aRole)
Remove a role |
| Methods inherited from interface org.jboss.security.identity.Role |
|---|
containsAll, getParent, getRoleName, getType |
| Method Detail |
|---|
List<Role> getRoles()
void addRole(Role aRole)
aRole - void addAll(List<Role> roles)
Adds all specified roles to the RoleGroup instance.
roles - a List containing the roles to be added to the RoleGroup.void clearRoles()
void removeRole(Role aRole)
aRole - boolean containsRole(Role aRole)
aRole - simple role
IllegalArgumentException - role is not simpleboolean containsAtleastOneRole(RoleGroup anotherRoleGroup)
anotherRoleGroup - another role group
|
JBoss Security SPI - Aggregator 2.0.4.SP8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||