com.ibm.retail.AEF.action
Class SimpleKeySequenceActionImpl

java.lang.Object
  |
  +--com.ibm.retail.AEF.action.SimpleKeySequenceActionImpl
All Implemented Interfaces:
AEFAction

public class SimpleKeySequenceActionImpl
extends java.lang.Object
implements AEFAction

SimpleKeySequenceActionImpl is a class which causes a simple key sequence (data and fcodes only) to be sent to the POS application.


Field Summary
(package private)  java.util.ArrayList argLists
           
(package private)  java.util.ArrayList sequenceIDs
           
protected  java.lang.String sessionID
           
protected  com.ibm.retail.AEF.util.AEFMessage tempAEFMessage
           
 
Constructor Summary
SimpleKeySequenceActionImpl(com.ibm.retail.AEF.automation.ActionRequest request)
          Constructor
 
Method Summary
(package private) static java.lang.String copyright()
           
 java.lang.Object performAction()
          Perform the action represented by the ActionRequest and return an ActionResult.
 java.util.ArrayList retrieveSubstitutionArguments(com.ibm.retail.AEF.automation.ActionRequest request)
          Retrieves the variable substitution arguments which will be substituted into the key sequence string.
 java.util.ArrayList retrieveSubstitutionArguments(java.lang.String sequenceID, com.ibm.retail.AEF.automation.ActionRequest request)
          Retrieves the variable substitution arguments which will be substituted into the key sequence string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequenceIDs

java.util.ArrayList sequenceIDs

argLists

java.util.ArrayList argLists

sessionID

protected java.lang.String sessionID

tempAEFMessage

protected com.ibm.retail.AEF.util.AEFMessage tempAEFMessage
Constructor Detail

SimpleKeySequenceActionImpl

public SimpleKeySequenceActionImpl(com.ibm.retail.AEF.automation.ActionRequest request)
                            throws AEFException
Constructor

Parameters:
request - The ActionRequest which contains a Map of arguments.
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.INVALID_ACTION_REQUEST
Method Detail

copyright

static java.lang.String copyright()

retrieveSubstitutionArguments

public java.util.ArrayList retrieveSubstitutionArguments(com.ibm.retail.AEF.automation.ActionRequest request)
Retrieves the variable substitution arguments which will be substituted into the key sequence string. The substitutions will occur in sequence wherever {0}, {1}, etc. appear.

Parameters:
request - The ActionRequest which contains the classname and arguments.
Returns:
ArrayList An array of string substitution arguments.

retrieveSubstitutionArguments

public java.util.ArrayList retrieveSubstitutionArguments(java.lang.String sequenceID,
                                                         com.ibm.retail.AEF.automation.ActionRequest request)
Retrieves the variable substitution arguments which will be substituted into the key sequence string. The substitutions will occur in sequence wherever {0}, {1}, etc. appear.

Parameters:
request - The ActionRequest which contains the classname and arguments.
Returns:
ArrayList An array of string substitution arguments.

performAction

public java.lang.Object performAction()
                               throws AEFException
Perform the action represented by the ActionRequest and return an ActionResult.

Specified by:
performAction in interface AEFAction
Returns:
Object Null is always returned.
Throws:
AEFException
com.ibm.retail.AEF.util.AEFException - Among the possible AEFException error codes are:
AEFConst.CONFIG_ERROR, AEFConst.INVALID_KEYSEQUENCE_EXPRESSION
AEFConst.CONFIG_ERROR, AEFConst.NONNUMERIC_FUNCTIONCODE
SYSTEM_BUSY
INPUT_NOT_ALLOWED


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004