|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.AbstractPolicy | +--com.bea.ales.management.MembershipRule
This class represents a membership rule.
Method Summary | |
void |
addRole(Role role)
Adds the role to the membership rule. |
void |
addRoles(java.util.List roles)
Add the list of roles to the membership rule. |
java.util.List |
getRoles()
Get all roles of this membership rule. |
void |
removeRole(Role role)
Remove the role from the membership rule. |
void |
removeRoles(java.util.List roles)
Remove all specified roles in the list. |
void |
setRoles(java.util.List roles)
Set the list of roles to the membership rule. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.util.List getRoles()
Role
.public void setRoles(java.util.List roles) throws java.lang.IllegalArgumentException, ManagementException
roles
- list of roles as com.bea.ales.management.RBAC_Role
. It can not be null or empty list.roles
is null, empty list or its element type is not Role
.public void addRoles(java.util.List roles) throws java.lang.IllegalArgumentException, ManagementException
roles
- list of roles as Role
. It can not be null or empty.roles
is null, empty list or its element type is not Role
.public void removeRoles(java.util.List roles) throws java.lang.IllegalArgumentException, ManagementException
roles
- list of roles as Role
. It can not be null or empty.roles
is null, empty list or its element type is not Role
.public void addRole(Role role) throws java.lang.IllegalArgumentException, ManagementException
role
- the role to be added. It can not be null.public void removeRole(Role role) throws java.lang.IllegalArgumentException, ManagementException
role
- the role to be removed. It can not be the null.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |