com.retek.component.salesaudit.batch
Class SalesAuditExportBatchTestObserver

java.lang.Object
  extended bycom.retek.component.salesaudit.batch.SalesAuditExportBatchTestObserver
All Implemented Interfaces:
SalesAuditExportBatchObserver, XmlExportBatchObserver

public class SalesAuditExportBatchTestObserver
extends java.lang.Object
implements SalesAuditExportBatchObserver

Class which implements behavior for white-box sales audit export batch test observer. This class is for use within junit tests to watch the output of the batch program.


Field Summary
 java.util.Set createdFiles
           
 java.util.Map dclosedStoreDayTxnMap
           
 java.util.Set processedOrders
           
 java.util.Map processedStoreDayTxnMap
           
 java.util.Set processedSvcCashouts
           
 
Constructor Summary
SalesAuditExportBatchTestObserver()
           
 
Method Summary
 DistributedContext getContext()
           
 void notifyFileCreated(java.io.File file)
           
 void notifyOrderProcessed(DistributedReference orderRef)
           
 void notifyStoreDayClosed(SaeStoreDay storeDay, SaeTransaction dcloseTransaction)
           
 void notifyStoreDayProcessed(SaeStoreDay storeDay)
           
 void notifyStoredValueCardCashoutProcessed(StoredValueCardCashout cashout)
           
 void notifyTransactionProcessed(java.lang.Object transactionObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processedOrders

public java.util.Set processedOrders

processedSvcCashouts

public java.util.Set processedSvcCashouts

processedStoreDayTxnMap

public java.util.Map processedStoreDayTxnMap

dclosedStoreDayTxnMap

public java.util.Map dclosedStoreDayTxnMap

createdFiles

public java.util.Set createdFiles
Constructor Detail

SalesAuditExportBatchTestObserver

public SalesAuditExportBatchTestObserver()
Method Detail

getContext

public DistributedContext getContext()

notifyOrderProcessed

public void notifyOrderProcessed(DistributedReference orderRef)
                          throws SystemException
Specified by:
notifyOrderProcessed in interface SalesAuditExportBatchObserver
Throws:
SystemException

notifyStoredValueCardCashoutProcessed

public void notifyStoredValueCardCashoutProcessed(StoredValueCardCashout cashout)
                                           throws SystemException
Specified by:
notifyStoredValueCardCashoutProcessed in interface SalesAuditExportBatchObserver
Throws:
SystemException

notifyTransactionProcessed

public void notifyTransactionProcessed(java.lang.Object transactionObject)
                                throws SystemException
Specified by:
notifyTransactionProcessed in interface XmlExportBatchObserver
Throws:
SystemException

notifyStoreDayProcessed

public void notifyStoreDayProcessed(SaeStoreDay storeDay)
                             throws SystemException
Specified by:
notifyStoreDayProcessed in interface SalesAuditExportBatchObserver
Throws:
SystemException

notifyStoreDayClosed

public void notifyStoreDayClosed(SaeStoreDay storeDay,
                                 SaeTransaction dcloseTransaction)
                          throws SystemException
Specified by:
notifyStoreDayClosed in interface SalesAuditExportBatchObserver
Throws:
SystemException

notifyFileCreated

public void notifyFileCreated(java.io.File file)
Specified by:
notifyFileCreated in interface XmlExportBatchObserver


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28