public class ZipCodeImportJob extends AbstractMasterImportJob
修飾子とタイプ | クラスと説明 |
---|---|
static class |
ZipCodeImportJob.CleanupMode
CleanupMode.
|
AbstractGenericImportJob.ImportFileMode, AbstractGenericImportJob.ImportMode
AbstractGenericJob.FileProcessType, AbstractGenericJob.IllegalJobParametersException, AbstractGenericJob.ProcessFile
gadgetBuilderSettings, genericMasterSettings, JOB_SETTING_IMPORT_COLUMN, JOBPARAM_EXTENSION_ID, JOBPARAM_GADGET_CLASS, JOBPARAM_GADGET_VARIATION, JOBPARAM_MASTER_ID
IMPORT_FILE_ROW_COUNT, JOBPARAM_ARCHIVE_PATH, JOBPARAM_CHARACTER, JOBPARAM_COLUMNS, JOBPARAM_DELIMITER, JOBPARAM_ENCLOSING, JOBPARAM_END_DATE, JOBPARAM_FILE_MODE, JOBPARAM_FILE_PATH, JOBPARAM_IMPORT_MODE, JOBPARAM_PRIMARY_COLUMNS, JOBPARAM_SHIFT_DATE, JOBPARAM_START_DATE, JOBPARAM_START_ROWS
contextHelper, dateHelper, dateValidator, formatHelper, identifierHelper, JOBPARAM_COMPANY_CD, JOBPARAM_COMPANY_GROUP_CD, JOBPARAM_COMPANY_GROUP_SET_CD, JOBPARAM_CONDUCTOR, JOBPARAM_ERROR_SKIP, JOBPARAM_JOB_ID, JOBPARAM_JOB_NAME, JOBPARAM_JOB_NET_ID, JOBPARAM_JOB_NET_NAME, JOBPARAM_LOCK_WAIT, JOBPARAM_MONITOR_ID, JOBPARAM_OUTPUT_LOG, JOBPARAM_PROCESS_COMPANY, JOBPARAM_PROCESS_DATE, JOBPARAM_TASK_ID, JOBPARAM_TENANT_ID, jobResultList, localeValidator, parameters, processCompany, processDate, processFiles, propertyHelper, result, systemLocaleHelper, transactionHelper, xmlOutputHelper
コンストラクタと説明 |
---|
ZipCodeImportJob()
コンストラクタ.
|
ZipCodeImportJob(Map<String,String> parameters)
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
jp.co.intra_mart.foundation.job_scheduler.JobResult |
execute()
ジョブ実行時に起動されるメソッド.
|
protected Map<String,Object> |
getRecordData(List<String> columnList,
String lineData)
行データを返却.
|
protected void |
processForGadgetBuilder()
インポート処理(GadgetBuilder).
|
protected void |
validateParameters()
パラメータバリデート.
|
getArchiveFilePath, getArchiveFilePath, getColumnList, getColumnList, getFileMode, getImportFilePath, getImportFilePath, getLockKey, getParameters, getPrimaryColumnList, getPrimaryColumnList, getPrimaryData, importModeCheck, importModeCheck, isCompanyProcess, postProcessImportValidate, process, processImport, processImport, processRenewal, processRenewal, processReplace, processReplace, replace, replace, validate, validate
getCharacter, getColumnData, getCompanyCdColumn, getDelimiter, getEnclosing, getEndDate, getEndDateColumn, getImportMode, getProcessType, getStartDate, getStartDateColumn, getStartRows, getValidMsg, getValidMsg, isMatchData, postExecute, postProcessImport, preProcessImport
addArchiveFile, addDeleteFile, addReadFile, addWriteFile, getCompanyCdList, getConductor, getEndMessage, getJobResult, getLockWait, getMessage, getParameter, getStartMessage, getSurface, initializeJobResult, isOutputLog, outputJobProcessResult, postProcess, preExecute, preProcess, run
public jp.co.intra_mart.foundation.job_scheduler.JobResult execute() throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
本メソッドでは、テナント全体/会社別処理の分岐やトランザクション制御、処理後の結果XML出力を行います。
execute
インタフェース内 jp.co.intra_mart.foundation.job_scheduler.Job
execute
クラス内 AbstractGenericJob
jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
- ジョブの実行に失敗protected Map<String,Object> getRecordData(List<String> columnList, String lineData) throws KaidenSystemException, KaidenApplicationException
getRecordData
クラス内 AbstractMasterImportJob
columnList
- カラムのリストlineData
- 1行データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected void processForGadgetBuilder() throws KaidenSystemException, KaidenApplicationException
protected void validateParameters() throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
ジョブパラメータなどで必須の場合は本メソッドでバリデートを実施してください。
本メソッドでバリデートエラーとなった内容はジョブネットモニターに表示され、ログファイルに出力されません。
validateParameters
クラス内 AbstractMasterImportJob
jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
- JobExecuteException
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.