@Component @Scope(value="prototype") public class BudgetDetailMasterLogic extends AbstractMasterLogicBase
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
BUDGET_AMNT_THRESHOLD_TYPE_RATE
予算金額閾値種別[%(割合)].
|
static String |
BUDGET_AMOUNT_MAX
予算金額最大値.
|
static String |
BUDGET_AMOUNT_MIN
予算金額最小値.
|
static String |
BUDGET_THRESHOLD_TYPE_AMOUNT
予算金額閾値種別「差額」.
|
static String |
BUDGET_THRESHOLD_TYPE_RATE
予算金額閾値種別「割合」.
|
static int |
BUDGET_UNIT_ITEM_MAX_CNT
予算単位項目最大件数.
|
static String |
CLIENT_VALIDATE_MASTER_EXISTS
クライアントバリデーション定義[マスタ存在チェック].
|
CompanyManagerHelper |
companyManagerHelper
CompanyManagerHelper.
|
static String |
DELETE_BUDGET_AMOUINT_DETAIL_SQLFILE_NM
予算金額明細削除用SQLファイル名.
|
static String |
DELETE_BUDGET_DETAIL_SQLFILE_NM
予算明細削除用SQLファイル名.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30cBudgetVersionSelectService |
k30cBudgetVersionSelectService
K30cBudgetVersionSelectService.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetAmountDetailService |
k30mBudgetAmountDetailService
K30mBudgetAmountDetailService.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetDetailService |
k30mBudgetDetailService
K30mBudgetDetailService.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetService |
k30mBudgetService
K30mBudgetService.
|
protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetUnitDetailService |
k30mBudgetUnitDetailService
K30mBudgetUnitDetailService.
|
static String |
LIMIT_SETTING_AMOUNT_MIN
上限金額最小値.
|
static String |
MASTER_ID_BUDGET
マスタID[予算].
|
static String |
MASTER_ID_BUDGET_VERISON
マスタID[予算バージョン].
|
static String |
MAX_SETTING_VALUE
閾値最大値.
|
static String |
MIN_SETTING_VALUE
閾値最小値.
|
static String |
SELECT_BUDGET_DETAIL_LIST_SQLFILE_NM
予算明細一覧検索用SQLファイル名.
|
static String |
SELECT_UNIT_DETAIL_ITEM_SQLFILE_NM
予算単位明細検索用SQLファイル名.
|
static int |
SORT_KEY_LENGTH
ソートキー桁数.
|
static String |
UNIT_ITEM_CD_PREFIX
単位項目コードの接頭辞.
|
static String |
UNIT_ITEM_VALUE_PREFIX
単位項目値の接頭辞.
|
static String |
WARNING_SETTING_AMOUNT_MIN
警告金額最小値.
|
cacheHelper, contextHelper, dateHelper, dateValidator, identifierHelper, KEY, localeValidator, propertyHelper, systemLocaleHelper, VALUE
コンストラクタと説明 |
---|
BudgetDetailMasterLogic() |
修飾子とタイプ | メソッドと説明 |
---|---|
LogicResultDto |
divideTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
期間分割処理.
|
LogicResultDto |
entry(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
登録処理.
|
void |
exportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request,
com.miragesql.miragesql.IterationCallback<Map,Void> callback)
データエクスポート.
|
boolean |
exportModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String mode)
エクスポートモード利用可否判定.
|
int |
importData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Map<String,Object>> recordList)
データインポート.
|
boolean |
importModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String mode)
インポートモード利用可否判定.
|
int |
importReplace(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
データ入替.
|
MasterMaintenanceDto |
index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
初期表示.
|
LogicResultDto |
moveTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
期間変更処理.
|
LogicResultDto |
remove(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
削除処理.
|
LogicResultDto |
renew(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
更新処理.
|
LogicResultDto |
search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
一覧検索処理.
|
LogicResultDto |
select(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
検索処理.
|
LogicResultDto |
selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
期間検索処理.
|
void |
setJobAvailable(boolean isAvailable)
ジョブ利用可否を設定.
|
void |
setTargetDate(String targetDate)
検索対象日を設定.
|
LogicResultDto |
toDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
無効化処理.
|
LogicResultDto |
toEnabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
有効化処理.
|
protected List<KaidenValidateResult> |
validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ValidateType type)
バリデートを実行.
|
KaidenValidateResult |
validateDuplicationBudgetDetails(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> target,
List<Map<String,Object>> recordList)
予算明細の重複チェック.
|
protected void |
validateExportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エクスポート(ジョブ)機能利用可否チェック.
|
protected void |
validateImportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
インポート(ジョブ)機能利用可否チェック.
|
changeStatus, convEditElemDetails, convEditElems, convertEntity, convertEntity, convertExportData, convertExportData, convertItem, convertListForDisplay, convertListForProcess, convertMapForDisplay, convertMapForProcess, countManager, createEntity, deleteManager, deleteManager, divideTerm, entry, exportData, exportModeCheck, getEntity, getException, getExportColumnList, getExportColumnList, getExportHeaderColumn, getExportHeaderColumn, getExportOrderCriteria, getExportOrderCriteria, getExportSearchCriteria, getExportSearchCriteria, getFieldData, getImportColumnList, getImportColumnList, getImportPrimaryColumnList, getImportPrimaryColumnList, getIncludeDisabled, getItemSurfaces, getOrder, getRequestData, getSearchCriteriaCompany, getSearchCriteriaCompany, getSearchCriteriaDate, getSearchCriteriaLocale, getSearchCriteriaUser, getSearchKeyword, getService, getSurface, getSurfaces, getValidateArgs, importData, importModeCheck, importRenewal, importRenewal, importReplace, index, insertManager, insertManager, isCompany, isCompany, isCompany, isLocale, isLocale, isLocale, isSurface, isTerm, isTerm, isTerm, masterSearch, masterSearch, masterSearch, masterSearch, masterSelect, masterSelect, masterSelect, moveTerm, remove, renew, search, search, searchCount, searchData, searchData, select, selectDeleteManager, selectDeleteManager, selectManager, selectManager, selectManager, selectManager, selectManager, selectTerm, setCountDisplay, setFieldData, setFieldData, toDisabled, toEnabled, toString, toString, toTimestamp, toTimestamp, updateManager, updateManager, validate, validate, validate, validateCompany, validateCompany, validateCompany, validateCompany, validateCompany, validateDate, validateDuplication, validateDuplication, validateExclusion, validateExclusion, validateImport, validateImport, validateJson, validateJson, validateLocale, validateMainte, validatePostImport, validateSearch, validateTerm, validateTerm
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetService k30mBudgetService
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetDetailService k30mBudgetDetailService
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetAmountDetailService k30mBudgetAmountDetailService
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30cBudgetVersionSelectService k30cBudgetVersionSelectService
@Autowired protected jp.co.slcs.kaiden.v2.product_workflow.foundation.model.service.K30mBudgetUnitDetailService k30mBudgetUnitDetailService
@Autowired public CompanyManagerHelper companyManagerHelper
public static final String BUDGET_THRESHOLD_TYPE_RATE
public static final String BUDGET_THRESHOLD_TYPE_AMOUNT
public static final String CLIENT_VALIDATE_MASTER_EXISTS
public static final String WARNING_SETTING_AMOUNT_MIN
public static final String LIMIT_SETTING_AMOUNT_MIN
public static final String BUDGET_AMNT_THRESHOLD_TYPE_RATE
public static final String MASTER_ID_BUDGET_VERISON
public static final int BUDGET_UNIT_ITEM_MAX_CNT
public static final String SELECT_BUDGET_DETAIL_LIST_SQLFILE_NM
public static final String SELECT_UNIT_DETAIL_ITEM_SQLFILE_NM
public static final String DELETE_BUDGET_DETAIL_SQLFILE_NM
public static final String DELETE_BUDGET_AMOUINT_DETAIL_SQLFILE_NM
public static final int SORT_KEY_LENGTH
public MasterMaintenanceDto index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
index
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
search
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto select(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
select
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto entry(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
entry
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto renew(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
renew
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto remove(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
remove
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto toEnabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
toEnabled
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto toDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
toDisabled
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
selectTerm
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto divideTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
divideTerm
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto moveTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
moveTerm
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public void setJobAvailable(boolean isAvailable)
isAvailable
- ジョブ利用可否public void setTargetDate(String targetDate)
targetDate
- 検索対象日protected void validateImportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
validateImportJob
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
public int importReplace(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
全レコードを物理削除します。 会社マスタの場合は対象会社(searchCriteriaCompany)の全レコードを物理削除します。 処理対象のマスタが会社マスタの場合、対象会社コード(companyCd)が指定されていない場合はエラーとします。
importReplace
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
request
- 条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int importData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Map<String,Object>> recordList) throws KaidenSystemException, KaidenApplicationException
importData
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
recordList
- インポートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean importModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String mode)
インポート時のインポートモード利用可否を返却します。
「mode」の値 | インポートモード |
---|---|
1 | 単一期間(差分)モード(開始日・終了日はパラメータから取得) |
2 | 単一期間(一新)モード(開始日・終了日はパラメータから取得) |
3 | 単一期間(入替)モード(開始日・終了日はパラメータから取得) |
4 | 複数期間(差分)モード(開始日・終了日はファイル内から取得) |
5 | 複数期間(入替)モード(開始日・終了日はファイル内から取得) |
importModeCheck
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
mode
- インポートモードprotected List<KaidenValidateResult> validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ValidateType type)
validate
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
map
- バリデート対象データtype
- ValidateType
public KaidenValidateResult validateDuplicationBudgetDetails(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> target, List<Map<String,Object>> recordList)
settings
- GenericMasterSettings
target
- 処理対象行データrecordList
- 全行データprotected void validateExportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
validateExportJob
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
public void exportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request, com.miragesql.miragesql.IterationCallback<Map,Void> callback) throws KaidenSystemException, KaidenApplicationException
exportData
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
request
- 抽出条件callback
- IterationCallback
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean exportModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String mode)
エクスポート時のエクスポートモード利用可否を返却します。
「mode」の値 | エクスポートモード |
---|---|
1 | 全件モード(対象データを全件出力) |
2 | 期間モード(検索基準日を含む期間のデータを出力) |
3 | 更新日モード(更新日が検索基準日以降のデータを出力) |
exportModeCheck
クラス内 AbstractMasterLogicBase
settings
- GenericMasterSettings
mode
- エクスポートモードCopyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.