com.retek.component.customer.integration.batch
Class CustomerFileExportFile

java.lang.Object
  extended bycom.retek.component.customer.integration.batch.CustomerFileExportFile

public class CustomerFileExportFile
extends java.lang.Object

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


Nested Class Summary
static class CustomerFileExportFile.CustomerFileTransactionObject
           
 
Constructor Summary
CustomerFileExportFile(java.util.Collection customerRefs, java.util.Set observers, java.lang.String criteriaDescription, boolean filterInactiveAttributes)
           
 
Method Summary
 void close()
           
 int getCustomerCount()
           
 java.io.File getExportFile()
           
 void open(RDate createTime, java.io.File exportDirectory, int numWorkerThreads)
          Open the specified RCOM customer file for transaction processing.
 void processCustomers(int workUnitNumber, java.util.Collection customerRefs)
          Process a unit of work of transactions into the Customer File XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerFileExportFile

public CustomerFileExportFile(java.util.Collection customerRefs,
                              java.util.Set observers,
                              java.lang.String criteriaDescription,
                              boolean filterInactiveAttributes)
                       throws SystemException
Method Detail

getCustomerCount

public int getCustomerCount()

getExportFile

public java.io.File getExportFile()

open

public void open(RDate createTime,
                 java.io.File exportDirectory,
                 int numWorkerThreads)
          throws java.lang.Exception
Open the specified RCOM customer file for transaction processing.

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

processCustomers

public void processCustomers(int workUnitNumber,
                             java.util.Collection customerRefs)
                      throws java.lang.Exception
Process a unit of work of transactions into the Customer File XML file.

Parameters:
customerRefs - customer references
Throws:
java.lang.Exception

close

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


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25