com.retek.component.salesaudit.integration.resa
Class ResaRtlogTransformerBatch

java.lang.Object
  extended bycom.retek.component.rcombatch.RcomAbstractBatchProgram
      extended bycom.retek.component.salesaudit.integration.resa.ResaRtlogTransformerBatch

public class ResaRtlogTransformerBatch
extends RcomAbstractBatchProgram

This batch process takes sales information from all shipped order lines, formats the data into standard ReSA format, and creates a flat file.

No dependencies. Can be run independent of any other batch process.

Batch command line arguments:

-inputDirectoryPath input directory path sales audit files [Optional]
-directoryPath directory path for rtlog output files [Required]

Retek Inc. Copyright (c) 2004


Nested Class Summary
 class ResaRtlogTransformerBatch.ResaRtlogTransactionProcessor
           
 
Field Summary
static java.lang.String INPUT_DIRECTORY_PATH_ARGUMENT_KEY
           
 
Fields inherited from class com.retek.component.rcombatch.RcomAbstractBatchProgram
DEFAULT_FILE_WORK_UNIT_SIZE, DEFAULT_WORK_UNIT_SIZE, DIRECTORY_PATH_ARGUMENT_KEY, FILE_WORK_UNIT_SIZE_ARGUMENT_KEY, USER_ID_ARGUMENT_KEY, WORK_UNIT_SIZE_ARGUMENT_KEY
 
Constructor Summary
ResaRtlogTransformerBatch()
           
 
Method Summary
 void addObserver(ResaRtlogTransformerBatchTestObserver observer)
           
 void doBatchProcess(java.util.Map args)
          Placeholder for the implementation's batch process.
protected  RetekLogger getLogger()
          Placeholder for the implementation's logger initialization.
static void main(java.lang.String[] args)
           
 void runBatch(java.util.Map args, java.io.File inputDirectory, java.io.File exportDirectory)
           
 
Methods inherited from class com.retek.component.rcombatch.RcomAbstractBatchProgram
addFileWorkUnitArgument, addRequiredDirectoryPathArgument, addRequiredUserArgument, addWorkUnitArgument, getBatchResult, getBatchUser, getExitValue, getFileWorkUnitSize, getWorkUnitSize, promoteToCompleteFailure, promoteToPartialFailure, runBatchProcessCalledFromMain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT_DIRECTORY_PATH_ARGUMENT_KEY

public static final java.lang.String INPUT_DIRECTORY_PATH_ARGUMENT_KEY
See Also:
Constant Field Values
Constructor Detail

ResaRtlogTransformerBatch

public ResaRtlogTransformerBatch()
Method Detail

doBatchProcess

public void doBatchProcess(java.util.Map args)
Description copied from class: RcomAbstractBatchProgram
Placeholder for the implementation's batch process.

Specified by:
doBatchProcess in class RcomAbstractBatchProgram
Parameters:
args - map of (String to String) batch execution arguments

runBatch

public void runBatch(java.util.Map args,
                     java.io.File inputDirectory,
                     java.io.File exportDirectory)
              throws SystemException
Throws:
SystemException

addObserver

public void addObserver(ResaRtlogTransformerBatchTestObserver observer)

main

public static void main(java.lang.String[] args)

getLogger

protected RetekLogger getLogger()
Description copied from class: RcomAbstractBatchProgram
Placeholder for the implementation's logger initialization.

Specified by:
getLogger in class RcomAbstractBatchProgram


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