/* * ACERetrieveSuspendedTransactionListActionImpl * * 11/18/2003 * * Copyright: * Licensed Materials - Property of IBM * "Restricted Materials of IBM" * 5724-AEF * (C) Copyright IBM Corp. 2003. * * %W% %E% */ package com.ibm.retail.AEF.action; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.ibm.retail.AEF.automation.ActionRequest; import com.ibm.retail.AEF.util.ACESuspendedTransactionList; import com.ibm.retail.si.util.AEFException; /** * ACERetrieveSuspendedTransactionListActionImpl is a class which the * POSAutomationProvider uses to retrieve a list of suspended transactions * from the ACE application keyed files. */ public class ACERetrieveSuspendedTransactionListActionImpl extends ACEActionImpl { static String copyright() { return com.ibm.retail.si.Copyright.IBM_COPYRIGHT_SHORT; } /** * Constructor * * @param request The ActionRequest which contains a HashMap of arguments. * @exception AEFException * AEFException error codes: * <br>AEFConst.CONFIG_ERROR, AEFConst.FACTORY_ERROR */ public ACERetrieveSuspendedTransactionListActionImpl(ActionRequest request) throws AEFException { super(request); requestedTerminal = (String) (request.getArguments().get("terminal")); if (log.isTraceEnabled()) { tempAEFMessage.setMessage("+Enter/-Exit constructor of ACERetrieveSuspendedTransactionListActionImpl."); log.trace(tempAEFMessage); } } /** * Perform the retrieve suspended transaction list action. * * @return Object That is Null. * @exception AEFException * AEFException error codes: * <br>AEFConst.INVALID_ARGUMENT, AEFConst.INVALID_TERMINAL_NUMBER */ public Object performAction() throws AEFException { super.performAction(); if (log.isTraceEnabled()) { tempAEFMessage.setMessage("+Enter/-Exit ACERetrieveSuspendedTransactionListActionImpl.performAction()"); log.trace(tempAEFMessage); } return ACESuspendedTransactionList.getList(requestedTerminal); } private static Log log = LogFactory.getLog(ACERetrieveSuspendedTransactionListActionImpl.class); String requestedTerminal; }