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(EvalPolicyListener evalPolicyListener)
          Adds a EvalPolicyListener which is interested in events generated by the EvalPolicy.
 void evalPolicyReq(java.lang.String domainName, java.lang.String signatureName, PolicyNameValue[] inputVariables)
          Invokes the evalPolicyReq() method on the Parlay Gateway.
 PolicyEvalManager getPolicyEvalManager()
          Returns a reference to the PolicyEvalManager responsible for creation of the EvalPolicy.
 void removeEvalPolicyListener(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 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(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(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,
                          PolicyNameValue[] inputVariables)
                   throws PlatformException,
                          java.lang.IllegalStateException,
                          CommonException,
                          AccessViolationException,
                          SyntaxErrorException,
                          NameSpaceErrorException
Invokes the evalPolicyReq() method on the Parlay Gateway.

Throws:
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.

Throws:
PlatformException
CommonException