com.retek.component.salesaudit.batch
Class SalesAuditExportFile

java.lang.Object
  extended bycom.retek.component.salesaudit.batch.SalesAuditExportFile

public class SalesAuditExportFile
extends java.lang.Object

Class which encapsulates data and file behavior for managing a Sales Audit store/day xml output file.


Constructor Summary
SalesAuditExportFile(DistributedContext context, SaeStoreDayTransactions recordSet, java.util.Set observers)
           
 
Method Summary
 void close()
           
 java.io.File getExportFile()
           
 int getTransationCount()
           
 void open(RDate createTime, java.io.File exportDirectory, SaeStoreTransactionCounter storeTxnCounter)
          Open the specified RCCOM sales audit file for transaction processing.
 void processTransactions(java.util.Set orderTransactionHeaders)
          Process a unit of work of transactions into the Sales Audit XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SalesAuditExportFile

public SalesAuditExportFile(DistributedContext context,
                            SaeStoreDayTransactions recordSet,
                            java.util.Set observers)
                     throws SystemException
Method Detail

getTransationCount

public int getTransationCount()

getExportFile

public java.io.File getExportFile()

open

public void open(RDate createTime,
                 java.io.File exportDirectory,
                 SaeStoreTransactionCounter storeTxnCounter)
          throws java.lang.Exception
Open the specified RCCOM sales audit file for transaction processing.

Parameters:
createTime -
exportDirectory -
storeTxnCounter -
Throws:
java.lang.Exception

processTransactions

public void processTransactions(java.util.Set orderTransactionHeaders)
                         throws java.lang.Exception
Process a unit of work of transactions into the Sales Audit XML file.

Parameters:
orderTransactionHeaders - unit of work transaction headers
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception


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