public class PaidLeaveAutomaticGrantJob extends AbstractMasterExportJob
AbstractGenericExportJob.ExportFileMode, AbstractGenericExportJob.ExportMode
AbstractGenericJob.FileProcessType, AbstractGenericJob.IllegalJobParametersException, AbstractGenericJob.ProcessFile
修飾子とタイプ | フィールドと説明 |
---|---|
protected Date |
dNowDate
本日(Date).
|
protected PaidLeaveAutomaticGrantComponentIF |
processAttendRate
出勤率算出.
|
protected PaidLeaveAutomaticGrantComponentIF |
processGrantDate
有給休暇付与日取得.
|
protected PaidLeaveAutomaticGrantComponentIF |
processGrantDays
有給休暇付与日数算出.
|
protected PaidLeaveAutomaticGrantComponentIF |
processYearsOfService
勤続年数取得.
|
protected String |
sNowDate
本日(String).
|
protected BigDecimal |
standardAttendRate
出勤率基準値.
|
gadgetBuilderSettings, genericMasterSettings, JOB_SETTING_EXPORT_COLUMN, JOBPARAM_EXTENSION_ID, JOBPARAM_GADGET_CLASS, JOBPARAM_GADGET_VARIATION, JOBPARAM_MASTER_ID
JOBPARAM_ARCHIVE_PATH, JOBPARAM_CHARACTER, JOBPARAM_COLUMNS, JOBPARAM_DELIMITER, JOBPARAM_ENCLOSING, JOBPARAM_EXPORT_MODE, JOBPARAM_FILE_MODE, JOBPARAM_FILE_PATH, JOBPARAM_HEADER_ROW, JOBPARAM_SHIFT_DATE, JOBPARAM_SORT_COLUMNS, JOBPARAM_TARGET_DATE
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
コンストラクタと説明 |
---|
PaidLeaveAutomaticGrantJob()
コンストラクタ.
|
PaidLeaveAutomaticGrantJob(Map<String,String> parameters)
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
jp.co.intra_mart.foundation.job_scheduler.JobResult |
execute()
ジョブ実行時に起動されるメソッド.
|
protected void |
exportData(String filePath,
List<String> columnList,
Map<String,String> exportData,
String character)
データ出力.
|
protected AbstractGenericExportJob.ExportMode |
getExportMode()
エクスポートモードを返却.
|
protected Map<String,String> |
getParameters()
パラメータを返却.
|
protected void |
validateParameters()
パラメータバリデート.
|
convertExportData, convertExportData, exportModeCheck, getArchiveFilePath, getArchiveFilePath, getColumnList, getColumnList, getExportFilePath, getExportFilePath, getHeaderColumn, getHeaderColumn, getIterationCallback, getLockKey, getOrder, getOrder, getSearchCriteria, getSearchCriteria, isCompanyProcess, postProcessExport, preProcessExport, process, processExport, processExport, processForGadgetBuilder, replace, replace
changeCharToString, getCharacter, getDelimiter, getEnclosing, getFileMode, getIterationCallback, getProcessType, getTargetDate, isHeaderRow, postProcessExport, preProcessExport
addArchiveFile, addDeleteFile, addReadFile, addWriteFile, getCompanyCdList, getConductor, getEndMessage, getJobResult, getLockWait, getMessage, getParameter, getStartMessage, getSurface, initializeJobResult, isOutputLog, outputJobProcessResult, postExecute, postProcess, preExecute, preProcess, run
protected PaidLeaveAutomaticGrantComponentIF processGrantDate
protected PaidLeaveAutomaticGrantComponentIF processAttendRate
protected PaidLeaveAutomaticGrantComponentIF processYearsOfService
protected PaidLeaveAutomaticGrantComponentIF processGrantDays
protected Date dNowDate
protected String sNowDate
protected BigDecimal standardAttendRate
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,String> getParameters()
getParameters
クラス内 AbstractMasterExportJob
protected void validateParameters() throws jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
ジョブパラメータなどで必須の場合は本メソッドでバリデートを実施してください。
本メソッドでバリデートエラーとなった内容はジョブネットモニターに表示され、ログファイルに出力されません。
validateParameters
クラス内 AbstractMasterExportJob
jp.co.intra_mart.foundation.job_scheduler.exception.JobExecuteException
- JobExecuteException
protected void exportData(String filePath, List<String> columnList, Map<String,String> exportData, String character) throws KaidenSystemException, KaidenApplicationException
exportData
クラス内 AbstractGenericExportJob
filePath
- エクスポートファイルパスcolumnList
- カラムリストexportData
- 対象データcharacter
- 文字コードKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected AbstractGenericExportJob.ExportMode getExportMode()
getExportMode
クラス内 AbstractGenericExportJob
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.