public abstract class AbstractMergeAllMasterEvent extends AbstractGadgetEvent
AbstractGadgetEvent.Mode
修飾子とタイプ | フィールドと説明 |
---|---|
protected static String |
DTL_BLOCK_ID
ガジェットブロックID(明細テーブル用).
|
protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
dtlService
明細サービス.
|
protected static String |
EFFECTIVE_DATE
事由発生日.
|
protected jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings |
gadgetMasterSettings
gadgetMaster定義.
|
protected GenericManager |
genericManager
GenericManager.
|
protected GenericSqlSelectManager |
genericSqlSelectManager
GenericSqlSelectManager.
|
protected IdentifierHelper |
identifierHelper
IdentifierHelper.
|
protected static String |
MASTER_BLOCK_ID
ガジェットマスタブロックID.
|
protected static String |
MASTER_DTL_BLOCK_ID
ガジェットマスタブロックID(明細テーブル用).
|
protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
service
サービス.
|
dateHelper, dateValidator, propertyHelper
コンストラクタと説明 |
---|
AbstractMergeAllMasterEvent() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected int |
entryMaster(Map<String,Object> dataMap,
List<Map<String,Object>> dtlDataMapList,
boolean createFlag)
マスタ登録処理.
|
void |
execute(Map<String,Object> gadgetData,
List<Map<String,Object>> blockData,
Map<String,Object> param,
Map<String,String> args)
イベント実行.
|
protected boolean |
isDtlService(String dtlBlockId)
明細サービスチェック.
|
protected boolean |
isDuplicationOnEvent(String target,
Map<String,Object> param,
String sqlPath)
未完了の申請がないかチェックします.
|
protected boolean |
isService()
サービスチェック.
|
protected int |
mergeAllMaster(Map<String,Object> gadgetData,
List<Map<String,Object>> blockData,
Map<String,Object> param,
Map<String,String> args)
マスタ更新(マージ).
|
protected int |
removeMaster(Map<String,Object> dataMap)
マスタ削除処理.
|
protected int |
renewMaster(Map<String,Object> dataMap)
マスタ更新処理.
|
protected List<Map<String,Object>> |
selectMasterDate(Map<String,Object> dataMap)
既存マスタデータ取得.
|
protected void |
setEntryMasterData(Map<String,Object> dataMap,
List<Map<String,Object>> dtlDataMapList,
Map<String,Object> param)
マスタ登録データ設定.
|
protected void |
setMasterInfo(Map<String,String> args)
マスタ情報設定.
|
execute, getBigDecimalValue, getLongValue, getSettings, getSettings, getStringValue, getTimestampValue, getValidateResult, getValidateResult, getValidateResult, getValidateResult
protected static final String MASTER_DTL_BLOCK_ID
@Autowired protected GenericSqlSelectManager genericSqlSelectManager
@Autowired protected GenericManager genericManager
@Autowired protected IdentifierHelper identifierHelper
protected jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings gadgetMasterSettings
protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> service
protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> dtlService
public void execute(Map<String,Object> gadgetData, List<Map<String,Object>> blockData, Map<String,Object> param, Map<String,String> args) throws KaidenSystemException, KaidenApplicationException
execute
クラス内 AbstractGadgetEvent
gadgetData
- ガジェットデータblockData
- ブロックデータparam
- イベントパラメータargs
- イベント引数KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected int mergeAllMaster(Map<String,Object> gadgetData, List<Map<String,Object>> blockData, Map<String,Object> param, Map<String,String> args) throws KaidenSystemException
gadgetData
- ガジェットデータblockData
- ブロックデータparam
- イベントパラメータargs
- イベント引数KaidenSystemException
- KaidenSystemException
protected void setMasterInfo(Map<String,String> args) throws KaidenSystemException
args
- イベント引数KaidenSystemException
- KaidenSystemException
protected void setEntryMasterData(Map<String,Object> dataMap, List<Map<String,Object>> dtlDataMapList, Map<String,Object> param) throws KaidenSystemException
dataMap
- 登録データdtlDataMapList
- 明細登録データparam
- イベントパラメータKaidenSystemException
- KaidenSystemException
protected List<Map<String,Object>> selectMasterDate(Map<String,Object> dataMap) throws KaidenSystemException
dataMap
- 登録データKaidenSystemException
- KaidenSystemException
protected int entryMaster(Map<String,Object> dataMap, List<Map<String,Object>> dtlDataMapList, boolean createFlag) throws KaidenSystemException
dataMap
- 登録データdtlDataMapList
- 明細登録データcreateFlag
- 無効期間作成フラグKaidenSystemException
- KaidenSystemException
protected int renewMaster(Map<String,Object> dataMap) throws KaidenSystemException
dataMap
- 既存データKaidenSystemException
- KaidenSystemException
protected int removeMaster(Map<String,Object> dataMap) throws KaidenSystemException
dataMap
- 既存データKaidenSystemException
- KaidenSystemException
protected boolean isService()
protected boolean isDtlService(String dtlBlockId)
dtlBlockId
- 明細ブロックIDprotected boolean isDuplicationOnEvent(String target, Map<String,Object> param, String sqlPath) throws KaidenSystemException
target
- イベントターゲットparam
- イベントパラメータsqlPath
- 未完了の申請を検索するためのSQLパスKaidenSystemException
- KaidenSystemException
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.