public abstract class AbstractMasterLogicBase extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
protected CacheHelper |
cacheHelper
CacheHelper.
|
protected ContextHelper |
contextHelper
ContextHelper.
|
protected DateHelper |
dateHelper
DateHelper.
|
protected DateValidator |
dateValidator
DateValidator.
|
protected IdentifierHelper |
identifierHelper
IdentifierHelper.
|
protected static String |
KEY
JSON キー:key.
|
protected LocaleValidator |
localeValidator
LocaleValidator.
|
protected PropertyHelper |
propertyHelper
PropertyHelper.
|
protected SystemLocaleHelper |
systemLocaleHelper
SystemLocaleHelper.
|
protected static String |
VALUE
JSON キー:value.
|
コンストラクタと説明 |
---|
AbstractMasterLogicBase() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected int |
changeStatus(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request,
String deleteFlag)
有効・無効切替.
|
protected List<Map<String,Object>> |
convEditElemDetails(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> elem)
メンテナンス(編集)項目のエレメントに合わせた変換.
|
protected Map<String,Object> |
convEditElems(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.Item item)
メンテナンス(編集)項目をマップに変換.
|
protected List<jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
convertEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Map<String,Object>> list)
エンティティに変換(インポート用).
|
protected List<jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
convertEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
エンティティに変換(メンテナンス用).
|
Map<String,Object> |
convertExportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
Map<String,Object> exportData)
エクスポートデータコンバート.
|
Map<String,Object> |
convertExportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> exportData)
エクスポートデータコンバート.
|
protected Object |
convertItem(Object value,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ConvertType from,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ConvertType to)
書式変換.
|
protected List<Map<String,Object>> |
convertListForDisplay(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Map<String,Object>> list)
画面表示用の書式変換.
|
protected List<Map<String,Object>> |
convertListForProcess(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Map<String,Object>> list)
処理用の書式変換.
|
protected Map<String,Object> |
convertMapForDisplay(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
画面表示用の書式変換.
|
protected Map<String,Object> |
convertMapForProcess(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
処理用の書式変換.
|
protected Long |
countManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String sqlPath,
Map<String,Object> criteria)
count.
|
protected jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity |
createEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エンティティクラスのインスタンスを返却.
|
protected int |
deleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity)
delete.
|
protected int |
deleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList)
delete.
|
LogicResultDto |
divideTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
期間分割処理.
|
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.gadget_builder_settings.GadgetBuilderSettings 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.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
Map<String,Object> request,
com.miragesql.miragesql.IterationCallback<Map,Void> callback)
データエクスポート.
|
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.gadget_builder_settings.GadgetBuilderSettings settings,
String mode)
エクスポートモード利用可否判定.
|
boolean |
exportModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String mode)
エクスポートモード利用可否判定.
|
protected Class<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
getEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エンティティクラスを返却.
|
protected KaidenNotAvailableException |
getException(String methodName)
KaidenNotAvailableExceptionの生成.
|
List<String> |
getExportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
エクスポート用のカラムリストを返却.
|
List<String> |
getExportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エクスポート用のカラムリストを返却.
|
Map<String,String> |
getExportHeaderColumn(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
エクスポート用のヘッダーカラムを返却.
|
Map<String,String> |
getExportHeaderColumn(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エクスポート用のヘッダーカラムを返却.
|
String |
getExportOrderCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
エクスポート用のソート条件を返却.
|
String |
getExportOrderCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エクスポート用のソート条件を返却.
|
Map<String,Object> |
getExportSearchCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
Map<String,Object> criteria)
エクスポート用の検索条件を返却.
|
Map<String,Object> |
getExportSearchCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> criteria)
エクスポート用の検索条件を返却.
|
protected Object |
getFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String fieldName)
フィールドの値を返却.
|
List<String> |
getImportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
String mode)
インポート用のカラムリストを返却.
|
List<String> |
getImportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String mode)
インポート用のカラムリストを返却.
|
List<String> |
getImportPrimaryColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
インポート用のプライマリーカラムリストを返却.
|
List<String> |
getImportPrimaryColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
インポート用のプライマリーカラムリストを返却.
|
protected String |
getIncludeDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
削除フラグを返却.
|
protected Map<String,String> |
getItemSurfaces(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
項目サーフィスマップを返却.
|
protected String |
getOrder(String orderJson)
ソート条件を返却.
|
protected Map<String,Object> |
getRequestData(String json)
Jsonデータから、処理用のデータを取得.
|
protected String |
getSearchCriteriaCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
検索基準会社コードを返却.
|
protected String |
getSearchCriteriaCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map,
boolean isThrow)
検索基準会社コードを返却.
|
protected Timestamp |
getSearchCriteriaDate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
検索基準日を返却.
|
protected String |
getSearchCriteriaLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
検索基準ロケールを返却.
|
protected String |
getSearchCriteriaUser(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> map)
検索基準ユーザコードを返却.
|
protected String |
getSearchKeyword(String searchKeyword)
検索キーワードを返却.
|
protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
getService(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
サービスクラスを返却.
|
protected String |
getSurface(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String surfaceKey)
サーフィスを返却.
|
protected Map<String,String> |
getSurfaces(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
サーフィスマップを返却.
|
protected String[] |
getValidateArgs(Map<String,Object> map,
Object args)
バリデート引数を返却.
|
int |
importData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
List<Map<String,Object>> recordList)
データインポート.
|
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.gadget_builder_settings.GadgetBuilderSettings settings,
String mode)
インポートモード利用可否判定.
|
boolean |
importModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String mode)
インポートモード利用可否判定.
|
int |
importRenewal(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
Map<String,Object> request)
データ一新.
|
int |
importRenewal(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
データ一新.
|
int |
importReplace(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
Map<String,Object> request)
データ入替.
|
int |
importReplace(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
データ入替.
|
GadgetBuilderMaintenanceDto |
index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
初期表示.
|
MasterMaintenanceDto |
index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
初期表示.
|
protected int |
insertManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity)
insert.
|
protected int |
insertManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList)
insert.
|
boolean |
isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
会社化有無.
|
boolean |
isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
会社化有無.
|
boolean |
isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
会社化有無.
|
boolean |
isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
国際化有無.
|
boolean |
isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
国際化有無.
|
boolean |
isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
国際化有無.
|
protected boolean |
isSurface(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String surfaceKey)
サーフィスの存在有無を返却.
|
protected boolean |
isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
boolean isDate)
期間化有無.
|
boolean |
isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
期間化有無.
|
boolean |
isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
期間化有無.
|
AbstractMasterSearchDto |
masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
マスタ検索処理.
|
List<Map<String,Object>> |
masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
Map<String,Object> request)
マスタ検索.
|
AbstractMasterSearchDto |
masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
マスタ検索処理.
|
List<Map<String,Object>> |
masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
マスタ検索.
|
List<Map<String,String>> |
masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
リストデータ取得処理.
|
List<Map<String,String>> |
masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
リストデータ取得処理.
|
List<Map<String,String>> |
masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
リストデータ取得処理.
|
LogicResultDto |
moveTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings 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.gadget_builder_settings.GadgetBuilderSettings 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.gadget_builder_settings.GadgetBuilderSettings 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.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
一覧検索処理.
|
LogicResultDto |
search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
一覧検索処理.
|
protected List<Map<String,Object>> |
search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> criteria)
マスタ検索.
|
protected long |
searchCount(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> criteria)
マスタ件数検索.
|
LogicResultDto |
searchData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
汎用検索処理.
|
LogicResultDto |
searchData(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.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
検索処理.
|
LogicResultDto |
select(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
検索処理.
|
protected int |
selectDeleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Where> criteria)
delete.
|
protected int |
selectDeleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> criteria)
delete.
|
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<Where> criteria,
List<OrderDto> order)
select.
|
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> criteria,
List<OrderDto> order)
select.
|
protected List<Map<String,Object>> |
selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String sqlPath,
Map<String,Object> criteria)
select.
|
protected List<Map<String,Object>> |
selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String sqlPath,
Map<String,Object> criteria,
int limit,
int offset)
select.
|
protected void |
selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String sqlPath,
Map<String,Object> criteria,
com.miragesql.miragesql.IterationCallback<Map,Void> callback)
select.
|
LogicResultDto |
selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
期間検索処理.
|
LogicResultDto |
selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
期間検索処理.
|
protected boolean |
setCountDisplay(boolean isDisp)
件数表示設定.
|
protected void |
setFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
Map<String,Object> map)
フィールドの値を設定.
|
protected void |
setFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String fieldName,
Object val)
フィールドの値を設定.
|
LogicResultDto |
toDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
無効化処理.
|
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.gadget_builder_settings.GadgetBuilderSettings settings,
AbstractMasterForm form)
有効化処理.
|
LogicResultDto |
toEnabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
AbstractMasterForm form)
有効化処理.
|
protected String |
toString(Object value)
文字列変換.
|
protected String |
toString(Object value,
int add)
文字列変換.
|
protected Timestamp |
toTimestamp(Object value)
タイムスタンプ変換.
|
protected Timestamp |
toTimestamp(Object value,
int add)
タイムスタンプ変換.
|
protected int |
updateManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity,
String... includes)
update.
|
protected int |
updateManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList,
String... includes)
update.
|
boolean |
validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
Map<String,Object> request)
バリデート処理.
|
boolean |
validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> request)
バリデート処理.
|
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)
バリデートを実行.
|
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,
boolean isThrow)
バリデートを実行.
|
protected boolean |
validateCompany(jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type,
Map<String,Object> criteria,
String surface,
boolean isThrow)
会社バリデート.
|
protected boolean |
validateCompany(jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type,
String target,
String surface,
boolean isThrow)
会社バリデート.
|
protected boolean |
validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type,
Map<String,Object> criteria,
String surface,
boolean isThrow)
会社バリデート.
|
protected boolean |
validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type,
String target,
String surface)
会社バリデート.
|
protected boolean |
validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type,
String target,
String surface,
boolean isThrow)
会社バリデート.
|
protected boolean |
validateDate(String target,
String surface,
boolean isThrow)
日付バリデート.
|
protected boolean |
validateDuplication(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> target)
重複チェック.
|
protected boolean |
validateDuplication(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> target,
boolean isThrow)
重複チェック.
|
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
validateExclusion(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> target)
排他チェック.
|
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> |
validateExclusion(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> target,
boolean isThrow)
排他チェック.
|
protected void |
validateExportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
エクスポート(ジョブ)機能利用可否チェック.
|
List<KaidenValidateResult> |
validateImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block,
Map<String,Object> record)
インポート時のバリデートを実行.
|
List<KaidenValidateResult> |
validateImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
Map<String,Object> record)
インポート時のバリデートを実行.
|
protected void |
validateImportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
インポート(ジョブ)機能利用可否チェック.
|
protected boolean |
validateJson(String target)
JSONデータのバリデート.
|
protected boolean |
validateJson(String target,
boolean isThrow)
JSONデータのバリデート.
|
protected boolean |
validateLocale(String target,
String surface,
boolean isThrow)
ロケールバリデート.
|
protected void |
validateMainte(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
メンテナンス機能利用可否チェック.
|
List<KaidenValidateResult> |
validatePostImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings,
List<jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock> blocks,
Map<String,HashSet<String>> recordKeys)
インポート後のバリデートを実行.
|
protected void |
validateSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
検索機能利用可否チェック.
|
protected boolean |
validateTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String methodName)
期間化マスタチェック.
|
protected boolean |
validateTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings,
String methodName,
boolean isThrow)
期間化マスタチェック.
|
@Autowired protected PropertyHelper propertyHelper
@Autowired protected ContextHelper contextHelper
@Autowired protected SystemLocaleHelper systemLocaleHelper
@Autowired protected DateHelper dateHelper
@Autowired protected IdentifierHelper identifierHelper
@Autowired protected CacheHelper cacheHelper
@Autowired protected LocaleValidator localeValidator
@Autowired protected DateValidator dateValidator
public MasterMaintenanceDto index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected Map<String,Object> convEditElems(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.Item item)
settings
- GenericMasterSettings
item
- メンテナンス(編集)項目protected List<Map<String,Object>> convEditElemDetails(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> elem) throws KaidenSystemException
settings
- GenericMasterSettings
elem
- メンテナンス(編集)項目KaidenSystemException
- KaidenSystemException
@Transactional public LogicResultDto search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public LogicResultDto select(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto entry(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto renew(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto remove(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public LogicResultDto selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto toEnabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto toDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected int changeStatus(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request, String deleteFlag) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
request
- リクエストパラメータdeleteFlag
- 削除フラグKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto divideTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional(rollbackFor=java.lang.Exception.class) public LogicResultDto moveTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public LogicResultDto searchData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public AbstractMasterSearchDto masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
AbstractMasterSearchDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public List<Map<String,String>> masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public List<Map<String,String>> masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
request
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public List<Map<String,Object>> masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
request
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<Map<String,Object>> search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> criteria) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
criteria
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected long searchCount(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> criteria) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
criteria
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean setCountDisplay(boolean isDisp)
isDisp
- 表示設定@Transactional public boolean validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
request
- バリデート用データ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 | 複数期間(入替)モード(開始日・終了日はファイル内から取得) |
settings
- GenericMasterSettings
mode
- インポートモードpublic List<String> getImportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String mode) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
mode
- インポートモードKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<String> getImportPrimaryColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
@Transactional public List<KaidenValidateResult> validateImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> record) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
record
- 行データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int importRenewal(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
指定された日付(searchCriteriaDate)以降の全レコードを論理削除します。 会社マスタの場合は指定された日付(searchCriteriaDate)以降の対象会社(companyCd)の全レコードを論理削除します。 非期間化マスタの場合はエラーとします。 指定された日付(searchCriteriaDate)が指定されていない場合はエラーとします。 処理対象のマスタが会社マスタの場合、会社コード(companyCd)が指定されていない場合はエラーとします。
settings
- GenericMasterSettings
request
- 処理条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
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)が指定されていない場合はエラーとします。
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
settings
- GenericMasterSettings
recordList
- インポートデータ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 | 更新日モード(更新日が検索基準日以降のデータを出力) |
settings
- GenericMasterSettings
mode
- エクスポートモードpublic List<String> getExportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,String> getExportHeaderColumn(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,Object> getExportSearchCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> criteria) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
criteria
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public String getExportOrderCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
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
settings
- GenericMasterSettings
request
- 抽出条件callback
- IterationCallback
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,Object> convertExportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> exportData) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
exportData
- エクスポートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> criteria, List<OrderDto> order) throws KaidenSystemException
settings
- GenericMasterSettings
criteria
- 検索条件order
- ソート条件KaidenSystemException
- KaidenSystemException
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Where> criteria, List<OrderDto> order) throws KaidenSystemException
settings
- GenericMasterSettings
criteria
- 検索条件order
- ソート条件KaidenSystemException
- KaidenSystemException
protected List<Map<String,Object>> selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String sqlPath, Map<String,Object> criteria) throws KaidenSystemException
settings
- GenericMasterSettings
sqlPath
- SQLファイルパスcriteria
- 検索条件KaidenSystemException
- KaidenSystemException
protected List<Map<String,Object>> selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String sqlPath, Map<String,Object> criteria, int limit, int offset) throws KaidenSystemException
settings
- GenericMasterSettings
sqlPath
- SQLファイルパスcriteria
- 検索条件limit
- limitoffset
- offsetKaidenSystemException
- KaidenSystemException
protected void selectManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String sqlPath, Map<String,Object> criteria, com.miragesql.miragesql.IterationCallback<Map,Void> callback) throws KaidenSystemException
settings
- GenericMasterSettings
sqlPath
- SQLファイルパスcriteria
- 検索条件callback
- IterationCallback
KaidenSystemException
- KaidenSystemException
protected Long countManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String sqlPath, Map<String,Object> criteria) throws KaidenSystemException
settings
- GenericMasterSettings
sqlPath
- SQLファイルパスcriteria
- 検索条件KaidenSystemException
- KaidenSystemException
protected int insertManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity) throws KaidenSystemException
settings
- GenericMasterSettings
entity
- GenerateEntity
KaidenSystemException
- KaidenSystemException
protected int insertManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList) throws KaidenSystemException
settings
- GenericMasterSettings
entityList
- GenerateEntity
KaidenSystemException
- KaidenSystemException
protected int updateManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String... includes) throws KaidenSystemException
settings
- GenericMasterSettings
entity
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
protected int updateManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList, String... includes) throws KaidenSystemException
settings
- GenericMasterSettings
entityList
- GenerateEntity
includes
- 更新対象のカラムKaidenSystemException
- KaidenSystemException
protected int deleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity) throws KaidenSystemException
settings
- GenericMasterSettings
entity
- GenerateEntity
KaidenSystemException
- KaidenSystemException
protected int deleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> entityList) throws KaidenSystemException
settings
- GenericMasterSettings
entityList
- 対象のEntityのリストKaidenSystemException
- KaidenSystemException
protected int selectDeleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Where> criteria) throws KaidenSystemException
settings
- GenericMasterSettings
criteria
- 削除条件KaidenSystemException
- KaidenSystemException
protected int selectDeleteManager(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> criteria) throws KaidenSystemException
settings
- GenericMasterSettings
criteria
- 削除条件KaidenSystemException
- KaidenSystemException
protected List<Map<String,Object>> convertListForDisplay(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Map<String,Object>> list)
settings
- GenericMasterSettings
list
- 変換元のリストprotected Map<String,Object> convertMapForDisplay(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map)
settings
- GenericMasterSettings
map
- 変換元のマップprotected List<Map<String,Object>> convertListForProcess(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Map<String,Object>> list)
settings
- GenericMasterSettings
list
- 変換元のリストprotected Map<String,Object> convertMapForProcess(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map)
settings
- GenericMasterSettings
map
- 変換元のマップprotected Object convertItem(Object value, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ConvertType from, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.ConvertType to)
value
- 変換前の値from
- 変換元の形式ConvertType
to
- 変換後の形式ConvertType
protected void setFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String fieldName, Object val)
entity
- GenerateEntityfieldName
- フィールド名val
- 設定値protected void setFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, Map<String,Object> map)
entity
- GenerateEntitymap
- フィールド名:設定値のマップprotected Object getFieldData(jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity entity, String fieldName)
entity
- GenerateEntityfieldName
- フィールド名protected Map<String,Object> getRequestData(String json)
json
- Json文字列protected String toString(Object value)
value
- 変換前protected String toString(Object value, int add)
value
- 変換前add
- 加算日付protected Timestamp toTimestamp(Object value)
value
- 変換前(yyyy/MM/dd形式)protected Timestamp toTimestamp(Object value, int add)
value
- 変換前(yyyy/MM/dd形式)add
- 加算日付protected jp.co.slcs.kaiden.v2.base.foundation.model.service.GenerateService<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> getService(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
settings
- GenericMasterSettings
protected Class<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> getEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
settings
- GenericMasterSettings
protected jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity createEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenSystemException
settings
- GenericMasterSettings
KaidenSystemException
- KaidenSystemException
public boolean isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
settings
- GenericMasterSettings
public boolean isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
settings
- GenericMasterSettings
public boolean isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
settings
- GenericMasterSettings
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, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 判定元type
- ValidateType
isThrow
- チェックエラー時にエラーをスローするか否かKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
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)
settings
- GenericMasterSettings
map
- バリデート対象データtype
- ValidateType
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String[] getValidateArgs(Map<String,Object> map, Object args)
map
- バリデート対象データargs
- バリデート引数(変換前)protected boolean validateJson(String target) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。
・設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」を返却します。
target
- バリデート対象データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateJson(String target, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。
・設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。
target
- バリデート対象データisThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type, String target, String surface) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。(非会社化マスタの場合は、バリデートを実行しません。) ・会社設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」を返却します。 ・会社存在判定 : 引数の「target」が存在しない場合は「KaidenNotFoundTargetDataException
」を返却します。 ・会社認可判定 : 引数の「target」に認可タイプの権限がない場合は「KaidenHaventAuthorityException
」を返却します。
settings
- GenericMasterSettings
type
- 認可タイプtarget
- バリデート対象データsurface
- バリデートエラー発生時に追加する名称KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type, String target, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。(非会社化マスタの場合は、バリデートを実行しません。) ・会社設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・会社存在判定 : 引数の「target」が存在しない場合は「KaidenNotFoundTargetDataException
」、または「false」を返却します。 ・会社認可判定 : 引数の「target」に認可タイプの権限がない場合は「KaidenHaventAuthorityException
」、または「false」を返却します。
settings
- GenericMasterSettings
type
- 認可タイプtarget
- バリデート対象データsurface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateCompany(jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type, String target, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・会社設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・会社存在判定 : 引数の「target」が存在しない場合は「KaidenNotFoundTargetDataException
」、または「false」を返却します。 ・会社認可判定 : 引数の「target」に認可タイプの権限がない場合は「KaidenHaventAuthorityException
」、または「false」を返却します。
type
- 認可タイプtarget
- バリデート対象データsurface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type, Map<String,Object> criteria, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。(非会社化マスタの場合は、バリデートを実行しません。) ・会社設定判定 : 引数の「criteria(searchCriteriaCompany)」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・会社存在判定 : 引数の「criteria(searchCriteriaCompany)」が存在しない場合は「KaidenNotFoundTargetDataException
」、または「false」を返却します。 ・会社認可判定 : 引数の「criteria(searchCriteriaCompany)」に認可タイプの権限がない場合は「KaidenHaventAuthorityException
」、または「false」を返却します。
settings
- GenericMasterSettings
type
- 認可タイプcriteria
- バリデート対象条件surface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateCompany(jp.co.intra_mart.foundation.master.company_authz.util.CompanyAuthzActionType type, Map<String,Object> criteria, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・会社設定判定 : 引数の「criteria(searchCriteriaCompany)」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・会社存在判定 : 引数の「criteria(searchCriteriaCompany)」が存在しない場合は「KaidenNotFoundTargetDataException
」、または「false」を返却します。 ・会社認可判定 : 引数の「criteria(searchCriteriaCompany)」に認可タイプの権限がない場合は「KaidenHaventAuthorityException
」、または「false」を返却します。
type
- 認可タイプcriteria
- バリデート対象条件surface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateDate(String target, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・日付設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・日付形式判定 : 引数の「target」が「yyyy/MM/dd」形式以外の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・日付期間判定 : 引数の「target」がシステム期間外の場合は「KaidenIllegalParametersException
」、または「false」を返却します。
target
- バリデート対象データsurface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateLocale(String target, String surface, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・ロケール設定判定 : 引数の「target」が空の場合は「KaidenIllegalParametersException
」、または「false」を返却します。 ・ロケール形式判定 : 引数の「target」がSystemLocaleで利用できるロケール以外の場合は「KaidenIllegalParametersException
」、または「false」を返却します。
target
- バリデート対象データsurface
- バリデートエラー発生時に追加する名称isThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String methodName) throws KaidenNotAvailableException
次のバリデートを実行します。
・期間化判定 : 対象のマスタが期間化マスタではない場合は「KaidenNotAvailableException
」、または「false」を返却します。
settings
- GenericMasterSettings
methodName
- メソッド名KaidenNotAvailableException
- KaidenNotAvailableException
protected boolean validateTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String methodName, boolean isThrow) throws KaidenNotAvailableException
次のバリデートを実行します。
・期間化判定 : 対象のマスタが期間化マスタではない場合は「KaidenNotAvailableException
」、または「false」を返却します。
settings
- GenericMasterSettings
methodName
- メソッド名isThrow
- バリデートエラーのスロー有無KaidenNotAvailableException
- KaidenNotAvailableException
protected boolean validateDuplication(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> target) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。
・重複判定 : 対象データが複数存在する(データ異常の可能性あり)場合は「KaidenApplicationException
を返却します。
settings
- GenericMasterSettings
target
- バリデートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean validateDuplication(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> target, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。
・重複判定 : 対象データが複数存在する(データ異常の可能性あり)場合は「KaidenApplicationException
」、または「false」を返却します。
settings
- GenericMasterSettings
target
- バリデートデータisThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> validateExclusion(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> target) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・存在判定 : 対象データが存在しない(更新された可能性あり)場合は「KaidenApplicationException
」、または「false」を返却します。 ・排他判定 : 対象データの更新カウンタが異なる(既に更新済み)場合は「KaidenApplicationException
」、または「false」を返却します。
settings
- GenericMasterSettings
target
- バリデートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<? extends jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> validateExclusion(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> target, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
次のバリデートを実行します。 ・存在判定 : 対象データが存在しない(更新された可能性あり)場合は「KaidenApplicationException
」、または「false」を返却します。 ・排他判定 : 対象データの更新カウンタが異なる(既に更新済み)場合は「KaidenApplicationException
」、または「false」を返却します。
settings
- GenericMasterSettings
target
- バリデートデータisThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected void validateMainte(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
protected void validateSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
protected void validateImportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
protected void validateExportJob(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings) throws KaidenNotAvailableException
次のバリデートを実行します。
・機能利用可否判定 : 対象のマスタが当機能を利用できない場合はKaidenNotAvailableException
をスローします。
settings
- GenericMasterSettings
KaidenNotAvailableException
- KaidenNotAvailableException
protected String getSearchCriteriaCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 取得元データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String getSearchCriteriaCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map, boolean isThrow) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 取得元データisThrow
- バリデートエラーのスロー有無KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String getSearchCriteriaUser(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 取得元データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected Timestamp getSearchCriteriaDate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 取得元データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String getIncludeDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
「includeDisabled」に「"true"」以外が設定されていた場合、「0(GenericFlag.OFF
)」を返却します。
上記以外の場合は、「null」を返却します。
settings
- GenericMasterSettings
map
- 取得元データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String getSearchCriteriaLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- 取得元データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected String getSearchKeyword(String searchKeyword)
searchKeyword
- 検索キーワードprotected String getOrder(String orderJson)
orderJson
- JSON形式のソート条件protected List<jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> convertEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, Map<String,Object> map) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
map
- データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected List<jp.co.slcs.kaiden.v2.base.foundation.model.entity.GenerateEntity> convertEntity(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, List<Map<String,Object>> list) throws KaidenSystemException, KaidenApplicationException
settings
- GenericMasterSettings
list
- データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
protected boolean isSurface(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String surfaceKey)
settings
- GenericMasterSettings
surfaceKey
- サーフィスキーprotected String getSurface(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings, String surfaceKey)
「サーフィスキー:サーフィス」のマップを返却します。
settings
- GenericMasterSettings
surfaceKey
- サーフィスキーprotected Map<String,String> getSurfaces(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
「サーフィスキー:サーフィス」のマップを返却します。
settings
- GenericMasterSettings
protected Map<String,String> getItemSurfaces(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.generic_master_settings.GenericMasterSettings settings)
「項目名:サーフィス」のマップを返却します。
settings
- GenericMasterSettings
protected KaidenNotAvailableException getException(String methodName)
methodName
- メソッド名KaidenNotAvailableException
public GadgetBuilderMaintenanceDto index(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto search(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto select(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto entry(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto renew(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto remove(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto selectTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto toEnabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto toDisabled(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto divideTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto moveTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public LogicResultDto searchData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public AbstractMasterSearchDto masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
AbstractMasterSearchDto
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<Map<String,String>> masterSelect(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, AbstractMasterForm form) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
form
- AbstractMasterForm
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<Map<String,Object>> masterSearch(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
request
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean validate(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
request
- バリデート用データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean importModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, String mode)
インポート時のインポートモード利用可否を返却します。
「mode」の値 | インポートモード |
---|---|
1 | 単一期間(差分)モード(開始日・終了日はパラメータから取得) |
2 | 単一期間(一新)モード(開始日・終了日はパラメータから取得) |
3 | 単一期間(入替)モード(開始日・終了日はパラメータから取得) |
4 | 複数期間(差分)モード(開始日・終了日はファイル内から取得) |
5 | 複数期間(入替)モード(開始日・終了日はファイル内から取得) |
settings
- GadgetBuilderSettings
mode
- インポートモードpublic List<String> getImportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, String mode) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
mode
- インポートモードKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<String> getImportPrimaryColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<KaidenValidateResult> validateImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, Map<String,Object> record) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
record
- 行データKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public List<KaidenValidateResult> validatePostImport(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, List<jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock> blocks, Map<String,HashSet<String>> recordKeys) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
blocks
- GadgetBlock
recordKeys
- ブロック毎のキー情報KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int importRenewal(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
指定された日付(searchCriteriaDate)以降の全レコードを論理削除します。 会社マスタの場合は指定された日付(searchCriteriaDate)以降の対象会社(companyCd)の全レコードを論理削除します。 非期間化マスタの場合はエラーとします。 指定された日付(searchCriteriaDate)が指定されていない場合はエラーとします。 処理対象のマスタが会社マスタの場合、会社コード(companyCd)が指定されていない場合はエラーとします。
settings
- GadgetBuilderSettings
request
- 処理条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int importReplace(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, Map<String,Object> request) throws KaidenSystemException, KaidenApplicationException
全レコードを物理削除します。 会社マスタの場合は対象会社(searchCriteriaCompany)の全レコードを物理削除します。 処理対象のマスタが会社マスタの場合、対象会社コード(companyCd)が指定されていない場合はエラーとします。
settings
- GadgetBuilderSettings
request
- 条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public int importData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, List<Map<String,Object>> recordList) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
recordList
- インポートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean exportModeCheck(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, String mode)
エクスポート時のエクスポートモード利用可否を返却します。
「mode」の値 | エクスポートモード |
---|---|
1 | 全件モード(対象データを全件出力) |
2 | 期間モード(検索基準日を含む期間のデータを出力) |
3 | 更新日モード(更新日が検索基準日以降のデータを出力) |
settings
- GadgetBuilderSettings
mode
- エクスポートモードpublic List<String> getExportColumnList(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,String> getExportHeaderColumn(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,Object> getExportSearchCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, Map<String,Object> criteria) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
criteria
- 検索条件KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public String getExportOrderCriteria(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public void exportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, Map<String,Object> request, com.miragesql.miragesql.IterationCallback<Map,Void> callback) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
request
- 抽出条件callback
- IterationCallback
KaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public Map<String,Object> convertExportData(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings, jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, Map<String,Object> exportData) throws KaidenSystemException, KaidenApplicationException
settings
- GadgetBuilderSettings
block
- GadgetBlock
exportData
- エクスポートデータKaidenSystemException
- KaidenSystemException
KaidenApplicationException
- KaidenApplicationException
public boolean isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
settings
- GadgetBuilderSettings
public boolean isCompany(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
block
- GadgetBlock
public boolean isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
settings
- GadgetBuilderSettings
protected boolean isTerm(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block, boolean isDate)
block
- GadgetBlock
isDate
- 開始日、終了日を判定に含むか否かpublic boolean isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBuilderSettings settings)
settings
- GadgetBuilderSettings
public boolean isLocale(jp.co.slcs.kaiden.v2.base.foundation.model.xml_schema.gadget_builder_settings.GadgetBlock block)
block
- GadgetBlock
Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.