public abstract class AbstractGadgetBuilderLogic extends AbstractPluginGadgetLogic
AbstractPluginGadgetLogic.ProcessType
修飾子とタイプ | フィールドと説明 |
---|---|
AppManager |
appManager
AppManager.
|
jp.co.slcs.kaiden.v2.extension_imw.foundation.model.service.K20cMatterHistoryService |
k20cMatterHistoryService
K20cMatterHistoryService.
|
blockSurfaceMap, contextHelper, currencyHelper, dateHelper, fieldDefsMap, propertyHelper, systemLocaleHelper, VAL_ARCHIVEMODE_ALL, VAL_ARCHIVEMODE_LATEST, VALIDATE_ERROR_CR_STRING, VALIDATE_ERROR_CR_STRING_MOB, VALIDATE_ERROR_SEP_STRING, validateDefsForGlobal, validateDefsForPostSingle, validateDefsMap
METHOD_ACTV_MATTER_DELETE, METHOD_APPLY, METHOD_APPLY_FROM_TEMP_SAVE, METHOD_APPLY_FROM_UNAPPLY, METHOD_APPROVE, METHOD_APPROVE_END, METHOD_ARC_MATTER_DELETE, METHOD_ARRIVE, METHOD_CPL_MATTER_DELETE, METHOD_DENY, METHOD_DISCONTINUE, METHOD_MATTER_ARCHIVE, METHOD_MATTER_END, METHOD_MATTER_HANDLE, METHOD_MATTER_START, METHOD_PULL_BACK, METHOD_REAPPLY, METHOD_RESERVE, METHOD_RESERVE_CANCEL, METHOD_SEND_BACK, METHOD_SEND_BACK_TO_PULL_BACK, METHOD_TEMP_SAVE_CREATE, METHOD_TEMP_SAVE_DELETE, METHOD_TEMP_SAVE_UPDATE
コンストラクタと説明 |
---|
AbstractGadgetBuilderLogic() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
actvMatterDelete(KaidenDto dto)
未完了案件削除処理.
|
protected void |
addValidate(AbstractGadgetLogicBase logic,
Map<String,Map<String,List<ValidateDefsDto>>> validateMap,
String type)
チェックルールによるバリデート定義の追加処理.
|
int |
apply(KaidenDto dto)
申請処理.
|
int |
applyFromTempSave(KaidenDto dto)
一時保存案件の申請処理.
|
int |
applyFromUnapply(KaidenDto dto)
未申請案件の申請処理.
|
int |
approve(KaidenDto dto)
承認処理.
|
int |
approveEnd(KaidenDto dto)
承認終了処理.
|
int |
arcMatterDelete(KaidenDto dto)
過去案件削除処理.
|
int |
arrive(KaidenDto dto)
到達処理.
|
protected void |
complementJsonData(GadgetMediatorParams params)
データ補完処理(ガジェット内部で完結する補完).
|
GadgetDto |
convertGadgetDto(GadgetDto gadgetDto,
AppManagerGadgetDto appGadgetDto,
String pagePathId)
ガジェット情報をコンバート.
|
GadgetDto |
convertGadgetDto(GadgetDto gadgetDto,
AppManagerGadgetDto appGadgetDto,
String pagePathId,
String localeId)
ガジェット情報をコンバート.
|
int |
cplMatterDelete(KaidenDto dto)
完了案件削除処理.
|
protected void |
defineValidate(GadgetMediatorParams params)
バリデート定義処理.
|
protected int |
delete(String gadgetClass,
String gadgetVariation,
Map<String,Object> criteria,
String serviceType)
削除処理.
|
int |
deny(KaidenDto dto)
否認処理.
|
int |
discontinue(KaidenDto dto)
取止め処理.
|
protected void |
executeEvent(String gadgetClass,
String gadgetVariation,
Map<String,Object> gadgetData,
Map<String,Object> param,
String target)
イベントを実行.
|
protected GadgetConfig |
getAddConfig(GadgetDto gadgetDto,
String pagePathId)
追加する構成情報を返却.
|
Map<String,Object> |
getCouplingValue(Map<String,Object> params,
String claimName,
String claimMethodName)
ガジェット間データ取得処理.
|
protected Map<String,Object> |
getCriteria(String systemMatterId,
String userDataId,
String gadgetClass,
String gadgetVariation,
Long gadgetInstance)
検索条件/削除条件を返却.
|
protected Map<String,Object> |
getCriteria(String systemMatterId,
String userDataId,
String gadgetClass,
String gadgetVariation,
Long gadgetInstance,
String localeId)
検索条件/削除条件を返却.
|
protected List<GlobalComplenentJsonDataProcess> |
getGlobalComplementJsonDataProcess()
グローバルデータ補完処理を返却(ガジェット間通信を行うもの).
|
protected List<jp.co.slcs.kaiden.v2.extension_imw.foundation.model.entity.K20cMatterHistory> |
getMatterHistory(PluginGadgetDTO pluginDto)
案件履歴を取得.
|
protected String[] |
getValidateArgs(Object args)
バリデート引数を返却.
|
void |
globalComplement(GadgetMediatorParams params,
Map<String,Object> map)
補完処理.
|
protected List<KaidenValidateResult> |
globalValidateMain(String eventKey,
GadgetMediatorParams params,
boolean isAuto,
boolean isLump)
大域バリデート処理.
|
protected int |
insert(String gadgetClass,
String gadgetVariation,
Map<String,Object> gadgetData,
String serviceType)
登録処理.
|
int |
matterArchive(KaidenDto dto)
案件退避処理.
|
protected int |
matterArchiveInner(PluginGadgetDTO pluginDto,
Map<String,Object> criteria,
String archiveMonth)
案件退避処理(実態).
|
int |
matterEnd(KaidenDto dto)
案件終了処理.
|
int |
matterHandle(KaidenDto dto)
案件操作処理.
|
int |
matterStart(KaidenDto dto)
案件開始処理.
|
protected List<KaidenValidateResult> |
postSingleValidate(String eventKey,
GadgetMediatorParams params,
boolean isAuto,
boolean isLump)
ガジェット内個別バリデート処理.
|
int |
pullBack(KaidenDto dto)
引戻し処理.
|
int |
reapply(KaidenDto dto)
再申請処理.
|
int |
reserve(KaidenDto dto)
保留処理.
|
int |
reserveCancel(KaidenDto dto)
保留解除処理.
|
LogicResultDto |
search(AbstractGadgetBuilderForm form)
一覧検索.
|
LogicResultDto |
select(AbstractGadgetBuilderForm form)
対象検索.
|
protected Map<String,Object> |
select(String gadgetClass,
String gadgetVariation,
String sqlId,
Map<String,Object> criteria,
String serviceType,
boolean isMergeLocale)
検索処理.
|
protected Map<String,Object> |
selectBlockDatasForArchive(CriteriaForSqlDto dto)
検索処理(過去案件用).
|
protected Map<String,Object> |
selectBlockDatasForCopy(CriteriaForSqlDto dto)
検索処理(申請書コピー用).
|
protected Map<String,Object> |
selectBlockDatasForView(CriteriaForSqlDto dto)
検索処理(初期表示用).
|
int |
sendBack(KaidenDto dto)
差戻し処理.
|
int |
sendBackToPullBack(KaidenDto dto)
差戻し後の引戻し処理.
|
protected boolean |
skipServerSide(Map<String,Object> criteria,
String type,
String validationTarget)
該当するサーバサイドチェックがDBに存在するかを判定.
|
int |
tempSaveCreate(KaidenDto dto)
一時保存(新規登録)処理.
|
int |
tempSaveDelete(KaidenDto dto)
一時保存(削除)処理.
|
int |
tempSaveUpdate(KaidenDto dto)
一時保存(更新)処理.
|
protected Map<String,Object> |
viewMap(PluginGadgetDTO dto)
リクエストパラメータとのマージ用データ取得.
|
addValidateDefsMap, addValidateDefsMap, addValidateDefsMap, addValidateDefsMapOnlyInput, addValidateDefsMapOnlyInput, addValidateDefsRequired, calcCompanyAmount, calcCompanyAmountSum, checkSelectedData, convCriteriaForSqlDto, convCriteriaForSqlDtoForArchive, convertFieldDefsFromAppGadgetDto, createLogicResultDto, dataMapIdEdit, dataMapSupplementPk, dataMapSupplementSearchCriteria, dataMapUserDataIdEdit, defineValidateForApply, defineValidateForApplyFromTempSave, defineValidateForApplyFromUnapply, defineValidateForApprove, defineValidateForApproveEnd, defineValidateForDeny, defineValidateForDiscontinue, defineValidateForMatterHandle, defineValidateForPullBack, defineValidateForReapply, defineValidateForReserve, defineValidateForReserveCancel, defineValidateForSendBack, defineValidateForSendBackToPullBack, defineValidateForTempSaveCreate, defineValidateForTempSaveDelete, defineValidateForTempSaveUpdate, getAppGadgetDto, getArgs, getDeleteTargetsForArchiveManagers, getDtoPkDefList, getGadgetDto, getGadgetId, getInitialData, getJsonDataDetailBlock, getJsonDataNormalBlock, getMergeKeyDefList, getMultiValue, getSingleValue, getSummaryBigDecimal, getValidateErrorMode, globalValidate, innerValidate, isInputMode, isLastMatterEnd, isNecessaryMergeDbData, isSendDataFlag, isValidateSkip, mainProcess, makeSingleInsertList, mapConvert, matterArchiveLocaleValidate, matterArchivePost, matterArchiveRegister, matterArchiveValidate, mergeDbAndRequestData, outputWarnLog, postProcess, preProcess, preProcessGlobalComplement, setAppGadgetDto, setGadgetDto, setSendDataFlag, singleValidate, view, viewArchive, viewForCopy, viewMapFormated
@Autowired public jp.co.slcs.kaiden.v2.extension_imw.foundation.model.service.K20cMatterHistoryService k20cMatterHistoryService
@Autowired public AppManager appManager
public int apply(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録 | #insert(String, String, Map, boolean) |
Event(apply)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int applyFromTempSave(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
基本テーブルの一時保存データを削除 | #delete(String, String, Map, boolean) |
基本テーブルへ申請データを登録 | #insert(String, String, Map, boolean) |
Event(apply_from_temp_save)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int applyFromUnapply(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録 | #insert(String, String, Map, boolean) |
Event(apply_from_unapply)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int approve(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録(承認時入力のみ) | #insert(String, String, Map, boolean) |
Event(approve)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int approveEnd(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
直前のユーザデータIDが存在する(承認時入力)場合、次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録(承認時入力のみ) | #insert(String, String, Map, boolean) |
Event(approve_end)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int deny(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(deny)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int discontinue(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(discontinue)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int pullBack(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(pull_back)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int reapply(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録 | #insert(String, String, Map, boolean) |
Event(reapply)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int reserve(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
直前のユーザデータIDが存在する(承認時入力)場合、次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録(承認時入力のみ) | #insert(String, String, Map, boolean) |
Event(reserve)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int reserveCancel(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
直前のユーザデータIDが存在する(承認時入力)場合、次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録(承認時入力のみ) | #insert(String, String, Map, boolean) |
Event(reserve_cancel)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int sendBack(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
直前のユーザデータIDが存在する(承認時入力)場合、次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ申請データを登録(承認時入力のみ) | #insert(String, String, Map, boolean) |
Event(send_back)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int sendBackToPullBack(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(send_back_to_pull_back)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int tempSaveCreate(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
基本テーブルへ一時保存データを登録 | #insert(String, String, Map, boolean) |
Event(temp_save_create)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int tempSaveDelete(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
基本テーブルの一時保存データを削除 | #delete(String, String, Map, boolean) |
Event(temp_save_delete)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int tempSaveUpdate(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
基本テーブルの一時保存データを削除 | #delete(String, String, Map, boolean) |
基本テーブルへ一時保存データを登録 | #insert(String, String, Map, boolean) |
Event(temp_save_update)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int matterHandle(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(matter_handle)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int matterStart(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(matter_start)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int matterEnd(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(matter_end)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int arrive(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
Event(arrive)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int actvMatterDelete(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを削除 | #delete(String, String, Map, boolean) |
Event(actv_matter_delete)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int cplMatterDelete(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを削除 | #delete(String, String, Map, boolean) |
Event(cpl_matter_delete)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int arcMatterDelete(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
削除条件を取得 | #getCriteria(String, String) |
アーカイブテーブルの申請データを削除 | #delete(String, String, Map, boolean) |
Event(arc_matter_delete)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int matterArchive(KaidenDto dto) throws KaidenSystemException, KaidenApplicationException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
DTO変換 | PluginGadgetDTO pluginDto = (PluginGadgetDTO) dto; |
検索条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを検索 | #select(String, String, Map, boolean) |
アーカイブテーブルへ検索データを登録 | #insert(String, String, Map, boolean) |
基本テーブルの申請データを削除 | #delete(String, String, Map, boolean) |
Event(matter_archive)実行 | #executeEvent(String, String, Map, WorkflowEvent) |
matterArchive
インタフェース内 PluginLogicIF
matterArchive
クラス内 AbstractPluginGadgetLogic
dto
- KaidenDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<jp.co.slcs.kaiden.v2.extension_imw.foundation.model.entity.K20cMatterHistory> getMatterHistory(PluginGadgetDTO pluginDto)
pluginDto
- PluginGadgetDTO
protected int matterArchiveInner(PluginGadgetDTO pluginDto, Map<String,Object> criteria, String archiveMonth) throws KaidenSystemException, KaidenApplicationException
pluginDto
- PluginGadgetDTO
criteria
- 検索条件archiveMonth
- アーカイブ年月KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected Map<String,Object> viewMap(PluginGadgetDTO dto) throws KaidenSystemException
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
検索条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを検索 | #select(String, String, Map, boolean) |
viewMap
クラス内 AbstractPluginGadgetLogic
dto
- 検索条件KaidenSystemException
- システムエラーが発生した。protected Map<String,Object> selectBlockDatasForView(CriteriaForSqlDto dto)
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
検索条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを検索 | #select(String, String, Map, boolean) |
selectBlockDatasForView
クラス内 AbstractPluginGadgetLogic
dto
- SQL条件用Dtoprotected Map<String,Object> selectBlockDatasForCopy(CriteriaForSqlDto dto)
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
検索条件を取得 | #getCriteria(String, String) |
基本テーブルの申請データを検索 | #select(String, String, Map, boolean) |
selectBlockDatasForCopy
クラス内 AbstractPluginGadgetLogic
dto
- SQL条件用Dtoprotected Map<String,Object> selectBlockDatasForArchive(CriteriaForSqlDto dto)
次の処理を実行します。
処理概要 | 実行メソッド |
---|---|
検索条件を取得 | #getCriteria(String, String) |
アーカイブテーブルのアーカイブデータを検索 | #select(String, String, Map, boolean) |
selectBlockDatasForArchive
クラス内 AbstractPluginGadgetLogic
dto
- SQL条件用Dtopublic LogicResultDto search(AbstractGadgetBuilderForm form) throws KaidenSystemException, KaidenApplicationException
form
- AbstractGadgetBuilderForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto select(AbstractGadgetBuilderForm form) throws KaidenSystemException, KaidenApplicationException
form
- AbstractGadgetBuilderForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected Map<String,Object> getCriteria(String systemMatterId, String userDataId, String gadgetClass, String gadgetVariation, Long gadgetInstance, String localeId)
systemMatterId
- システム案件IDuserDataId
- ユーザデータIDgadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションgadgetInstance
- ガジェットインスタンスlocaleId
- ロケールIDprotected Map<String,Object> getCriteria(String systemMatterId, String userDataId, String gadgetClass, String gadgetVariation, Long gadgetInstance)
systemMatterId
- システム案件IDuserDataId
- ユーザデータIDgadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションgadgetInstance
- ガジェットインスタンスprotected Map<String,Object> select(String gadgetClass, String gadgetVariation, String sqlId, Map<String,Object> criteria, String serviceType, boolean isMergeLocale) throws KaidenSystemException
GadgetBuilder定義に設定されたServiceを使用して、検索処理を行います。 拡張設定に対応するSQLが指定されていた場合は、SQLを使用して検索処理を行います。
gadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションsqlId
- 使用するSQLのIDcriteria
- 検索条件serviceType
- サービスクラス種別isMergeLocale
- 国際化データをマージするか否かKaidenSystemException
- KaidenSystemException
protected int insert(String gadgetClass, String gadgetVariation, Map<String,Object> gadgetData, String serviceType) throws KaidenSystemException, KaidenApplicationException
gadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションgadgetData
- ガジェットデータserviceType
- サービスクラス種別KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected int delete(String gadgetClass, String gadgetVariation, Map<String,Object> criteria, String serviceType) throws KaidenSystemException, KaidenApplicationException
gadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションcriteria
- 削除条件serviceType
- サービスクラス種別KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected void executeEvent(String gadgetClass, String gadgetVariation, Map<String,Object> gadgetData, Map<String,Object> param, String target) throws KaidenSystemException, KaidenApplicationException
gadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションgadgetData
- ガジェットデータparam
- イベントパラメータtarget
- イベントターゲットKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<KaidenValidateResult> postSingleValidate(String eventKey, GadgetMediatorParams params, boolean isAuto, boolean isLump) throws KaidenSystemException, KaidenApplicationException
postSingleValidate
クラス内 AbstractPluginGadgetLogic
eventKey
- 表示画面種別params
- 呼び出したイベントisAuto
- 自動処理区分isLump
- 一括処理区分KaidenSystemException
- システム障害KaidenApplicationException
- アプリケーション障害protected List<KaidenValidateResult> globalValidateMain(String eventKey, GadgetMediatorParams params, boolean isAuto, boolean isLump) throws KaidenSystemException, KaidenApplicationException
globalValidateMain
クラス内 AbstractPluginGadgetLogic
eventKey
- 表示画面種別params
- 呼び出したイベントisAuto
- 自動処理区分isLump
- 一括処理区分KaidenSystemException
- システム障害KaidenApplicationException
- アプリケーション障害protected void defineValidate(GadgetMediatorParams params) throws KaidenSystemException, KaidenApplicationException
defineValidate
クラス内 AbstractPluginGadgetLogic
params
- ガジェットメディエータ処理情報クラスKaidenSystemException
- システムエラーが発生KaidenApplicationException
- アプリケーションエラーが発生protected boolean skipServerSide(Map<String,Object> criteria, String type, String validationTarget)
criteria
- ガジェットビルダーロジッククラスtype
- バリデーションタイプvalidationTarget
- バリデーションターゲットprotected void addValidate(AbstractGadgetLogicBase logic, Map<String,Map<String,List<ValidateDefsDto>>> validateMap, String type) throws KaidenSystemException
logic
- ガジェットビルダーロジッククラスvalidateMap
- バリデート情報マップtype
- バリデーションタイプKaidenSystemException
- KaidenSystemException
protected void complementJsonData(GadgetMediatorParams params)
AbstractPluginGadgetLogic
個別前処理
の最後に実行されます。
必要に応じて AbstractPluginGadgetLogic.gadgetDto
のデータ
を更新してください。
当メソッド実施時に、他のガジェットのデータは確定していないため、他のガジェットに依存しない補完処理のみを記載してください
ガジェット間通信で取得した値を補完する必要がある場合、当メソッドではなく
#complementJsonDataAfterPreProcess(GadgetMediatorParams)
にて実装してください。
例1:会社通貨コードをシステムで定められている通貨コードで補完する。
例2:宿泊明細テーブルは立替フラグを保持していないため支払分類マスタより取得して補完する。
complementJsonData
クラス内 AbstractPluginGadgetLogic
params
- ガジェットメディエータ処理情報protected List<GlobalComplenentJsonDataProcess> getGlobalComplementJsonDataProcess()
getGlobalComplementJsonDataProcess
クラス内 AbstractPluginGadgetLogic
public void globalComplement(GadgetMediatorParams params, Map<String,Object> map)
params
- ガジェットメディエータ処理情報map
- パラメータpublic Map<String,Object> getCouplingValue(Map<String,Object> params, String claimName, String claimMethodName)
getCouplingValue
クラス内 AbstractGadgetLogic
params
- 取得メソッドへ引渡すアーギュメントclaimName
- 対象ガジェット通信名claimMethodName
- 実行メソッド名public GadgetDto convertGadgetDto(GadgetDto gadgetDto, AppManagerGadgetDto appGadgetDto, String pagePathId)
convertGadgetDto
クラス内 AbstractPluginGadgetLogic
gadgetDto
- ガジェット情報appGadgetDto
- 申請書ガジェットマスタDTOpagePathId
- ページパスIDpublic GadgetDto convertGadgetDto(GadgetDto gadgetDto, AppManagerGadgetDto appGadgetDto, String pagePathId, String localeId)
convertGadgetDto
クラス内 AbstractPluginGadgetLogic
gadgetDto
- ガジェット情報appGadgetDto
- 申請書ガジェットマスタDTOpagePathId
- ページパスIDlocaleId
- ロケールIDprotected GadgetConfig getAddConfig(GadgetDto gadgetDto, String pagePathId)
gadgetDto
- GadgetDto
pagePathId
- 画面パスidCopyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.