|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.AdminRoleMembershipRule
This class represents an membership Rule for Admin Role.
It is managed by AdminRole
. Changes to objects of
this class will be saved to store automatically.
Method Summary | |
java.lang.String |
getConstraint()
Get the constraint of the policy. if the policy has no constraint, null will be return. |
java.util.List |
getSubjects()
Get all subjects of the policy. |
void |
setConstraint(java.lang.String constraint)
Set the constrain to the policy. |
void |
setSubjects(java.util.List subjects)
Set subjects of the policy. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void setSubjects(java.util.List subjects) throws java.lang.IllegalArgumentException, ManagementException
subjects
- list of subjects. The type of elements can be
User
or Group
public void setConstraint(java.lang.String constraint) throws ManagementException
constraint
- the constraint to be set. If it is null or empty string, the existing constraint will be removed.public java.lang.String getConstraint()
public java.util.List getSubjects()
User
or Group
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |