|
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.ScopeRule
public class ScopeRule
Defines a condition used to determine the set of objects that can be managed by a member or administrator of a role.
Scope rules are used in member policies and admin policies as follows:
Constructor Summary | |
---|---|
ScopeRule(ScopeMatchConstraint match,
ObjectType ot)
Creates a scope rule object. |
|
ScopeRule(ScopeMatchConstraint match,
ObjectType ot,
ScopePurpose sp)
Creates a scope rule object. |
|
ScopeRule(ScopeMatchConstraint match,
OrgScopeConstraint org,
ObjectType ot)
Creates a scope rule object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
EvaluationType |
getEvaluationType()
Returns the evaluation type of this rule. |
ObjectType |
getObjectType()
Retrieves the type of object associated with this scope rule. |
OrgScopeConstraint |
getOrgScopeConstraint()
Retrieves the organization scope constraint for this rule. |
ScopeMatchConstraint |
getScopeMatchConstraint()
Retrieves the scope match constraint for this rule. |
ScopePurpose |
getScopePurpose()
|
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 |
setOrgScopeConstraint(OrgScopeConstraint cons)
Sets a new organization scope constraint value for this rule, overwriting any previous value. |
void |
setScopeMatchConstraint(ScopeMatchConstraint cons)
Sets a new scope match constraint value for this rule, overwriting any previous value. |
void |
setScopePurpose(ScopePurpose newSP)
|
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 ScopeRule(ScopeMatchConstraint match, ObjectType ot)
public ScopeRule(ScopeMatchConstraint match, ObjectType ot, ScopePurpose sp)
public ScopeRule(ScopeMatchConstraint match, OrgScopeConstraint org, ObjectType ot)
Method Detail |
---|
public ScopeMatchConstraint getScopeMatchConstraint()
public void setScopeMatchConstraint(ScopeMatchConstraint cons)
cons
- The new scope match constraint value for the rule.public OrgScopeConstraint getOrgScopeConstraint()
public void setOrgScopeConstraint(OrgScopeConstraint cons)
cons
- The new organization scope 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 ObjectType getObjectType()
Retrieves the type of object associated with this scope rule.
public ScopePurpose getScopePurpose()
public void setScopePurpose(ScopePurpose newSP)
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
.public java.lang.Object clone()
clone
in class java.lang.Object
|
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 |