org.csapi.jr.se.policy.evaluation
Interface EvalPolicy

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface EvalPolicy
extends Activity

This interface represents a EvalPolicy activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void abortEvalPolicyReq(java.lang.String domainName)
          Invokes the abortEvalPolicyReq() method on the Parlay Gateway.
 void addEvalPolicyListener(org.csapi.jr.se.policy.evaluation.EvalPolicyListener evalPolicyListener)
          Adds a EvalPolicyListener which is interested in events generated by the EvalPolicy.
 void evalPolicyReq(java.lang.String domainName, java.lang.String signatureName, org.csapi.jr.se.policy.PolicyNameValue[] inputVariables)
          Invokes the evalPolicyReq() method on the Parlay Gateway.
 org.csapi.jr.se.policy.evaluation.PolicyEvalManager getPolicyEvalManager()
          Returns a reference to the PolicyEvalManager responsible for creation of the EvalPolicy.
 void removeEvalPolicyListener(org.csapi.jr.se.policy.evaluation.EvalPolicyListener evalPolicyListener)
          Removes a EvalPolicyListener which is no longer interested events generated by the EvalPolicy.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getPolicyEvalManager

public org.csapi.jr.se.policy.evaluation.PolicyEvalManager getPolicyEvalManager()
Returns a reference to the PolicyEvalManager responsible for creation of the EvalPolicy.

Returns:
A reference to the PolicyEvalManager responsible for creation of the EvalPolicy.

addEvalPolicyListener

public void addEvalPolicyListener(org.csapi.jr.se.policy.evaluation.EvalPolicyListener evalPolicyListener)
Adds a EvalPolicyListener which is interested in events generated by the EvalPolicy.

Parameters:
evalPolicyListener - A reference to the EvalPolicyListener which is to be added as a listener.

removeEvalPolicyListener

public void removeEvalPolicyListener(org.csapi.jr.se.policy.evaluation.EvalPolicyListener evalPolicyListener)
Removes a EvalPolicyListener which is no longer interested events generated by the EvalPolicy.

Parameters:
evalPolicyListener - A reference to the EvalPolicyListener which is to be removed as a listener.

evalPolicyReq

public void evalPolicyReq(java.lang.String domainName,
                          java.lang.String signatureName,
                          org.csapi.jr.se.policy.PolicyNameValue[] inputVariables)
                   throws PlatformException,
                          java.lang.IllegalStateException,
                          CommonException,
                          AccessViolationException,
                          SyntaxErrorException,
                          NameSpaceErrorException
Invokes the evalPolicyReq() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
AccessViolationException
SyntaxErrorException
NameSpaceErrorException

abortEvalPolicyReq

public void abortEvalPolicyReq(java.lang.String domainName)
                        throws PlatformException,
                               CommonException
Invokes the abortEvalPolicyReq() method on the Parlay Gateway.

PlatformException
CommonException