|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.component.rcombatch.RcomAbstractBatchProgram
com.retek.component.customer.integration.batch.CustomerFileImportBatch
This batch process imports customer imports from an input xml file. The customer data is either added if it is an add customer import or updated if it is an update customer import.
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]
Retek Inc. Copyright (c) 2004
Field Summary | |
static java.lang.String |
INPUT_DIRECTORY_PATH_ARGUMENT_KEY
|
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 | |
CustomerFileImportBatch()
|
Method Summary | |
void |
addObserver(CustomerFileImportBatchObserver 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 |
public static final java.lang.String INPUT_DIRECTORY_PATH_ARGUMENT_KEY
public static final java.lang.String WORKER_THREADS_ARGUMENT_KEY
Constructor Detail |
public CustomerFileImportBatch()
Method Detail |
public void doBatchProcess(java.util.Map args)
RcomAbstractBatchProgram
doBatchProcess
in class RcomAbstractBatchProgram
args
- map of (String to String) batch execution argumentspublic static void main(java.lang.String[] args)
public void addObserver(CustomerFileImportBatchObserver rebo)
protected RetekLogger getLogger()
RcomAbstractBatchProgram
getLogger
in class RcomAbstractBatchProgram
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |