IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel
Class PolicyOperationStep

java.lang.Object
  extended by com.ibm.btt.base.OperationStep
      extended by com.ibm.btt.channel.AbstractPolicyOperationStep
          extended by com.ibm.btt.channel.PolicyOperationStep
All Implemented Interfaces:
OperationStepInterface

public class PolicyOperationStep
extends AbstractPolicyOperationStep

BTT provided implementation of checking rule operation step. It suppose that you use bean context as the data model. So you can use input,output,result to describe the bean collection name defined in your data.


Field Summary
static java.lang.String INPUT
           
static java.lang.String OUTPUT
           
static java.lang.String RESULT
           
 
Fields inherited from class com.ibm.btt.channel.AbstractPolicyOperationStep
REFRULESERVICE
 
Fields inherited from class com.ibm.btt.base.OperationStep
RC_ERROR, RC_OK
 
Constructor Summary
PolicyOperationStep()
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.Object> getInputParameter()
          Construct the input parameters using the data from the operation context or getting from data store.
protected  int processResult(java.util.Map<java.lang.String,java.lang.Object> result)
          Subclass override this method to process the result
 
Methods inherited from class com.ibm.btt.channel.AbstractPolicyOperationStep
execute
 
Methods inherited from class com.ibm.btt.base.OperationStep
addElement, getApplicationId, getContext, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getOperation, getParams, getParent, getService, getValueAt, postExecute, preExecute, removeAt, setApplicationId, setContext, setKeyedCollection, setName, setOperation, setParams, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT

public static final java.lang.String INPUT
See Also:
Constant Field Values

OUTPUT

public static final java.lang.String OUTPUT
See Also:
Constant Field Values

RESULT

public static final java.lang.String RESULT
See Also:
Constant Field Values
Constructor Detail

PolicyOperationStep

public PolicyOperationStep()
Method Detail

getInputParameter

protected java.util.Map<java.lang.String,java.lang.Object> getInputParameter()
Construct the input parameters using the data from the operation context or getting from data store.

Specified by:
getInputParameter in class AbstractPolicyOperationStep
Parameters:
inputParameters - the JRules input parameters

processResult

protected int processResult(java.util.Map<java.lang.String,java.lang.Object> result)
Subclass override this method to process the result

Specified by:
processResult in class AbstractPolicyOperationStep
Parameters:
result - RC_OK if the request is accepted or RC_ERROR if the request is rejected.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011