|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netegrity.llsdk6.imsapi.policy.rule.MemberRule
public class MemberRule
Defines a condition that must be satisfied for a user to be assigned to a role.
Constructor Summary | |
---|---|
MemberRule(MemberMatchConstraint match,
OrgMembershipConstraint org)
Creates a member rule object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
EvaluationType |
getEvaluationType()
Returns the evaluation type of this rule. |
MemberMatchConstraint |
getMembermatchConstraint()
Retrieves the member match constraint for this rule. |
OrgMembershipConstraint |
getOrgMembershipConstraint()
Retrieves the organization membership constraint for this rule. |
java.lang.String |
marshall()
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule. |
java.lang.String |
marshall(boolean bCDATA)
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule. |
void |
setMemberMatchConstraint(MemberMatchConstraint cons)
Sets a new member match constraint value for this rule, overwriting any previous value. |
void |
setOrgMembershipConstraint(OrgMembershipConstraint cons)
Sets a new organization membership constraint value for this rule, overwriting any previous value. |
boolean |
wouldMatch(TSContext ctx,
ManagedObject obj,
java.lang.StringBuffer message)
Specifies whether the current form of this managed object matches the rule. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemberRule(MemberMatchConstraint match, OrgMembershipConstraint org)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public MemberMatchConstraint getMembermatchConstraint()
Retrieves the member match constraint for this rule.
public void setMemberMatchConstraint(MemberMatchConstraint cons)
cons
- The new member match constraint value for the rule.public OrgMembershipConstraint getOrgMembershipConstraint()
public void setOrgMembershipConstraint(OrgMembershipConstraint cons)
cons
- The new organization membership constraint value for the rule.public java.lang.String marshall(boolean bCDATA)
TriggerRule
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule.
marshall
in interface TriggerRule
bCDATA
- If true
, the marshalled
form will wrap the contents of the rule in
a CDATA block.
public java.lang.String marshall()
TriggerRule
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule.
marshall
in interface TriggerRule
public boolean wouldMatch(TSContext ctx, ManagedObject obj, java.lang.StringBuffer message) throws SmApiException
TriggerRule
Specifies whether the current form of this managed object matches the rule.
wouldMatch
in interface TriggerRule
ctx
- The context in which the rule is evaluated.obj
- The managed object to check.message
- Output parameter for an exception message.
true
if the managed object matches the rule.
SmApiException
public EvaluationType getEvaluationType()
TriggerRule
Returns the evaluation type of this rule.
The evaluation type is determined by what kinds of constraints make up the rule. The Identity Manager back end uses this information to determine how to evaluate the rule.
getEvaluationType
in interface TriggerRule
EvaluationType
.
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |