CA Identity Manager
Java SDK r12.5 SP 8

 

com.netegrity.llsdk6.imsapi.policy.rule.constraints
Interface RuleConstraint

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
MemberMatchConstraint
All Known Implementing Classes:
OrgMembershipConstraint, OrgScopeConstraint, UserFilter

public interface RuleConstraint
extends java.lang.Cloneable

Base interface for rule constraints.

Since:
Identity Manager 8.1

Method Summary
 java.lang.Object clone()
           
 java.lang.String marshall()
          Creates a serialized String representation of this constraint which can be used for transmission/storage.
 boolean wouldMatch(TSContext ctx, ManagedObject obj, java.lang.StringBuffer message)
          Specifies whether the current form of this managed object matches the constraint.
 

Method Detail

marshall

java.lang.String marshall()

Creates a serialized String representation of this constraint which can be used for transmission/storage.

Returns:
A String representation of this constraint.

wouldMatch

boolean wouldMatch(TSContext ctx,
                   ManagedObject obj,
                   java.lang.StringBuffer message)
                   throws SmApiException

Specifies whether the current form of this managed object matches the constraint.

Parameters:
ctx - The context in which the constraint is evaluated.
obj - The managed object to check.
message - Output parameter for an exception message.
Returns:
true if the managed object matches the constraint.
Throws:
SmApiException

clone

java.lang.Object clone()

CA Identity Manager
Java SDK r12.5 SP 8

06/13/2011

© 2011 CA Technologies, Inc. All rights reserved.