|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TriggerRule
A base interface for defining one or more conditions which must be met before an object, such as a user, can be associated with a role. For example:
MemberRule
implements this interface to define
the conditions for assigning a user to a role.
ScopeRule
implements this interface to define the
objects that can be managed within a role.
Method Summary | |
---|---|
EvaluationType |
getEvaluationType()
Returns the evaluation type of 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. |
boolean |
wouldMatch(TSContext ctx,
ManagedObject obj,
java.lang.StringBuffer message)
Specifies whether the current form of this managed object matches the rule. |
Method Detail |
---|
java.lang.String marshall(boolean bCDATA)
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule.
bCDATA
- If true
, the marshalled
form will wrap the contents of the rule in
a CDATA block.
java.lang.String marshall()
Creates a serialized String representation of this rule which can be used for transmission/storage of the rule.
EvaluationType getEvaluationType()
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.
EvaluationType
.boolean wouldMatch(TSContext ctx, ManagedObject obj, java.lang.StringBuffer message) throws SmApiException
Specifies whether the current form of this managed object matches the rule.
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
|
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 |