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

java.lang.Object
  extended bycom.retek.component.rcombatch.RcomAbstractBatchProgram
      extended bycom.retek.component.customer.integration.batch.CustomerFileExportBatch

public class CustomerFileExportBatch
extends RcomAbstractBatchProgram

This batch process exports customers from the cst_customer_* tables to an xml export file. This batch is part of the suite of customer integration tools for the customer component.

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

Batch command line arguments:

-userId user identifier for the batch [Required] -directoryPath directory path for xml output files [Required] -exportCriteria export search criteria for customer export [Required] -filterInactiveAttributes filter customer attributes (address, telephone, email which are inactive, default is false [Optional] The following are the supported search criteria parameters

Retek Inc. Copyright (c) 2004


Field Summary
static java.lang.String EXPORT_CRITERIA_ARGUMENT_KEY
          Batch argument for search critiera.
static java.lang.String FILTER_INACTIVE_ATTRIBUTES_ARGUMENT_KEY
          Batch argument for filter inactive attributes.
static java.lang.String WORKER_THREADS_ARGUMENT_KEY
          Batch argument for number of worker threads.
 
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
CustomerFileExportBatch()
           
 
Method Summary
 void addObserver(XmlExportBatchObserver rebo)
           
 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)
           
 
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

EXPORT_CRITERIA_ARGUMENT_KEY

public static final java.lang.String EXPORT_CRITERIA_ARGUMENT_KEY
Batch argument for search critiera.

See Also:
Constant Field Values

FILTER_INACTIVE_ATTRIBUTES_ARGUMENT_KEY

public static final java.lang.String FILTER_INACTIVE_ATTRIBUTES_ARGUMENT_KEY
Batch argument for filter inactive attributes.

See Also:
Constant Field Values

WORKER_THREADS_ARGUMENT_KEY

public static final java.lang.String WORKER_THREADS_ARGUMENT_KEY
Batch argument for number of worker threads.

See Also:
Constant Field Values
Constructor Detail

CustomerFileExportBatch

public CustomerFileExportBatch()
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

main

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

addObserver

public void addObserver(XmlExportBatchObserver rebo)

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