public interface AppManager
修飾子とタイプ | インタフェースと説明 |
---|---|
static class |
AppManager.CustomExistsVersionStatus
カスタムバリデート_バージョンステータス整合性チェック.
|
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
ADVANCE_GADGET_CLASS
事前情報ガジェットクラス.
|
static String |
APPTYPE_ADV
申請書タイプ(事前申請書).
|
static String |
APPTYPE_NORMAL
申請書タイプ(一般).
|
static String |
APPTYPE_STL
申請書タイプ(精算申請書).
|
static String |
BILL_PAYMENT_INFO_GADGET_CLASS
請求書払情報ガジェットクラス.
|
static int |
CONTENTS_ID_LEN
コンテンツID最大文字数.
|
static int |
CONTENTS_NAME_LEN
コンテンツ名.
|
static int |
CONTENTS_VERSION_ID_LEN
コンテンツバージョンID最大文字数.
|
static String |
DEFAULT_PLUGIN_APPLY
デフォルトプラグイン(申請ノード).
|
static String |
DEFAULT_PLUGIN_APPROVE
デフォルトプラグイン(承認ノード).
|
static String |
DEFAULT_PLUGIN_ARC_MATTER_DELETE
デフォルトプラグイン(過去案件削除).
|
static String |
DEFAULT_PLUGIN_CPL_MATTER_DELETE
デフォルトプラグイン(完了案件削除).
|
static String |
DEFAULT_PLUGIN_MATTER_ARCHIVE
デフォルトプラグイン(案件退避).
|
static String |
DEFAULT_PLUGIN_MATTER_DELETE
デフォルトプラグイン(未完了案件削除).
|
static String |
DEFAULT_PLUGIN_MATTER_END
デフォルトプラグイン(案件終了).
|
static int |
NOTE_LEN
備考.
|
static int |
NUMBERING_CLASS_ID_LEN
案件番号採番クラスID最大文字数.
|
static String |
SETTLE_GADGET_CLASS
精算情報ガジェットクラス.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
copyContents(String fromContentsId,
String fromContentsVesionId,
Map<String,AppManagerDto> dataMap)
申請書のマスタ情報の特定バージョンをコピーして新たなコンテンツとして作成.
|
String |
copyVersion(String fromContentsId,
String fromContentsVesionId,
Map<String,AppManagerVersionDto> dataMap)
申請書のマスタ情報の特定バージョンをコピーして新たなバージョンを作成.
|
List<jp.co.intra_mart.foundation.workflow.administrator.model.ContentsDetailDataModel> |
createImContentsDataList(String contentsId,
String contentsVersionId,
Map<String,AppManagerVersionDto> appVersionMap,
List<KaidenPageTypeDto> kaidenPageTypeDtoList,
String pagePathNoChangeChecked,
String userProgramNoChangeChecked)
IMコンテンツ定義情報を生成.
|
String |
createLinkApp(String fromContentsId,
String fromContentsVesionId,
Map<String,AppManagerDto> dataMap)
申請書のマスタ情報の特定バージョンをコピーし、さらに事前申請と精算申請を入れ替えて新たなコンテンツとして作成.
|
void |
deleteVersion4TermOverLap(String contentsId,
String contentsVersionId,
Timestamp startDate,
Timestamp endDate)
期間重複によりIMWコンテンツ定義で削除対象となる皆伝!のデータを削除.
|
void |
entry(Map<String,AppManagerDto> dataMap)
特定の申請書のマスタ情報を登録.
|
void |
removeFamily(String contentsId)
特定の申請書(コンテンツ定義)のマスタ情報すべてを削除.
|
void |
removeVersion(String contentsId,
String contentsVersionId)
申請書バージョンマスタ(コンテンツバージョン)削除.
|
void |
renew(Map<String,AppManagerDto> dataMap)
特定の申請書のマスタ情報を更新.
|
List<AppManagerGadgetDto> |
selectAppGadgetList(Map<String,Object> criteriaMap)
申請書ガジェットマスタからレコードを取得.
|
AppManagerDto |
selectAppGadgetOnly(String contentsId,
String contentsVersionId)
申請書ガジェット一覧取得.
|
List<AppManagerDto> |
selectAppList(AppManagerDto criteria,
List<OrderDto> order)
申請書(コンテンツ定義)一覧を返却.
|
Map<String,Object> |
selectAppListKeywordFilter(AppManagerDto criteria,
List<OrderDto> order,
KeywordsCriteriaDto keywordsCriteria)
キーワード検索.
|
List<AppManagerVersionDto> |
selectAppVersionList(String contentsId,
String contentsVersionId)
申請書バージョン(コンテンツバージョン)の一覧を返却(ロケール指定なし、開始日ソート).
|
List<AppManagerVersionDto> |
selectAppVersionList(String contentsId,
String contentsVersionId,
String localeId)
申請書バージョン(コンテンツバージョン)の一覧を返却(開始日ソート).
|
List<AppManagerVersionDto> |
selectAppVersionList(String contentsId,
String contentsVersionId,
String localeId,
List<OrderDto> order)
申請書バージョン(コンテンツバージョン)の一覧を返却.
|
Map<String,Object> |
selectContentsList4MstSearch(Map<String,Object> criteria,
List<OrderDto> order,
KeywordsCriteriaDto keywordsCriteria)
コンテンツ一覧を返却(マスタ検索部品向け).
|
List<AppManagerVersionDto> |
selectDeleteVersion4OverlapTerm(String contentsId,
String contentsVersionId,
Timestamp startDate,
Timestamp endDate)
引数のコンテンツバージョンが登録(更新)された際に削除される期間一覧を返却.
|
List<AppManagerExtParameterDto> |
selectExtParameterList(Map<String,Object> criteria,
List<OrderDto> order)
申請書拡張パラメータリストを取得.
|
List<AppManagerExtUserPgmDto> |
selectExtUserPgmList(Map<String,Object> criteria,
List<OrderDto> order)
申請書拡張ユーザプログラムリストを取得.
|
AppManagerDto |
selectFamily(String contentsId,
String contentsVersionId,
String pagePathId)
特定の申請書(コンテンツ定義)のマスタ情報のうち特定のページパスIDのデータを返却.
|
AppManagerDto |
selectFamily(String contentsId,
String contentsVersionId,
String pagePathId,
String localeId)
特定の申請書(コンテンツ定義)のマスタ情報をロケール/ページパスIDを指定して返却.
|
List<Map<String,Object>> |
selectGadgetSurfaceList(Map<String,Object> criteria)
ガジェットサーフェスマスタからリストを取得.
|
List<AppManagerDto> |
selectList(AppManagerDto criteria,
List<OrderDto> order)
検索.
|
List<AppManagerPageScreenInfoDto> |
selectPageScreenInfoList(Map<String,Object> criteria,
List<OrderDto> order)
皆伝!
|
List<Map<String,Object>> |
selectPageTypeList(String contentsId,
String contentsVersionId)
画面種別情報リストを取得.
|
List<AppManagerExtTextDto> |
selectSavedExtTextList(Map<String,Object> criteria)
申請書拡張テキストの一覧を返却.
|
List<GadgetMasterManagerFieldGroupDto> |
selectSavedFieldGroupList(String contentsId,
String contentsVersionId,
String pagePathId,
String gadgetClass,
String gadgetVariation,
String localeId)
ガジェットフィールドグループの一覧を返却.
|
List<Map<String,Object>> |
selectSavedFieldList(Map<String,Object> criteria)
ガジェットフィールドの一覧を返却.
|
List<AppManagerGadgetValidationDto> |
selectSavedValidationList(Map<String,Object> criteria)
ガジェットバリデーションの一覧を返却.
|
List<KaidenValidateResult> |
validate4Entry(List<?> dtoList,
Map<String,String> surfaces)
新規登録用の検証.
|
List<KaidenValidateResult> |
validate4EntryVersion(List<?> dtoList,
Map<String,String> surfaces)
バージョン新規登録用の検証.
|
List<KaidenValidateResult> |
validate4Renew(List<?> dtoList,
Map<String,String> surfaces)
更新登録用の検証.
|
List<KaidenValidateResult> |
validate4RenewVersion(List<?> dtoList,
Map<String,String> surfaces)
バージョン更新登録用の検証.
|
static final int CONTENTS_ID_LEN
static final int CONTENTS_VERSION_ID_LEN
static final int CONTENTS_NAME_LEN
static final int NOTE_LEN
static final int NUMBERING_CLASS_ID_LEN
static final String DEFAULT_PLUGIN_MATTER_END
static final String DEFAULT_PLUGIN_MATTER_DELETE
static final String DEFAULT_PLUGIN_CPL_MATTER_DELETE
static final String DEFAULT_PLUGIN_ARC_MATTER_DELETE
static final String DEFAULT_PLUGIN_MATTER_ARCHIVE
List<AppManagerDto> selectList(AppManagerDto criteria, List<OrderDto> order)
criteria
- 検索条件(すべてイコール検索)order
- ソート順AppManagerDto selectFamily(String contentsId, String contentsVersionId, String pagePathId, String localeId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
返却対象は以下の通り。
AppManagerDto
:K20mApp
の鏡})AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})AppManagerGadgetSurfaceDto
:K20mAppGadgetSurface
の鏡})AppManagerGadgetBlockDto
:K20mAppGadgetBlock
の鏡})AppManagerGadgetFieldDto
:K20mAppGadgetField
の鏡})サーフェスは指定ロケールのみ返却されます
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDpagePathId
- 画面パスIDlocaleId
- ロケールIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外AppManagerDto selectFamily(String contentsId, String contentsVersionId, String pagePathId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
名称・サーフェス等は、ログインユーザのロケールで取得されること以外は、selectFamily(String, String, String)
と同様です。
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンID nullを指定するとすべてのバージョンデータを返却pagePathId
- 画面パスIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外void removeFamily(String contentsId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
削除対象は以下の通り。
AppManagerDto
:K20mApp
の鏡})AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})AppManagerGadgetSurfaceDto
:K20mAppGadgetSurface
の鏡})AppManagerGadgetBlockDto
:K20mAppGadgetBlock
の鏡})AppManagerGadgetFieldDto
:K20mAppGadgetField
の鏡})contentsId
- コンテンツIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外void removeVersion(String contentsId, String contentsVersionId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
返却対象は以下の通り。
AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})
※ガジェットクラス/ガジェットバリエーションのみ利用し、それ以外は無視します。
AppManagerGadgetSurfaceDto
:K20mAppGadgetSurface
の鏡})AppManagerGadgetBlockDto
:K20mAppGadgetBlock
の鏡})AppManagerGadgetFieldDto
:K20mAppGadgetField
の鏡})contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外void entry(Map<String,AppManagerDto> dataMap) throws KaidenDuplicationEntryException, jp.co.intra_mart.foundation.workflow.exception.WorkflowException
登録対象は以下の通り
AppManagerDto
:K20mApp
の鏡})
第一引数にはロケールごとのデータのみを渡してください。
異なるコンテンツ/コンテンツバージョンを混在させると正しく更新されません。
dataMap
- 登録データ(ロケールID、更新データのMap)KaidenDuplicationEntryException
- 重複登録例外jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外List<KaidenValidateResult> validate4EntryVersion(List<?> dtoList, Map<String,String> surfaces)
項目名 | 検証内容 |
---|---|
コンテンツID | 必須、半角英数字、20桁 |
案件番号採番クラスID | 必須、皆伝コード、1000桁 |
開始日 | 必須、日付(システム期間内) |
終了日 | 必須、日付(システム期間内)、開始日・終了日大小チェック |
備考 | 200桁 |
バージョンnステータス | 必須、VersionStatus 確認 |
dtoList
- 検証対象surfaces
- メッセージ置換用ラベル(フィールドキー、ラベル内容)String copyVersion(String fromContentsId, String fromContentsVesionId, Map<String,AppManagerVersionDto> dataMap) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException, KaidenNotFoundTargetDataException
コピー元のコンテンツID、コンテンツバージョンIDより、新たなコンテンツバージョンを作成します。
dataMapの中でコピーに利用する情報は以下の通りです。
AppManagerVersionDto
:K20mAppVersion
の鏡})
第三引数にはロケールごとのデータのみを渡してください。
異なるコンテンツ/コンテンツバージョンを混在させると正しく更新されません。
コピー時に各種属性のバリデーションは行っていませんので、validate4EntryVersion(List, Map)
にてバリデーションしてください。
fromContentsId
- コピー元のコンテンツIDfromContentsVesionId
- コピー元のコンテンツバージョンIDdataMap
- 登録データ(ロケールID、更新データのMap)jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外KaidenNotFoundTargetDataException
- コピー対象データが見つからないvoid copyContents(String fromContentsId, String fromContentsVesionId, Map<String,AppManagerDto> dataMap) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException, KaidenNotFoundTargetDataException, KaidenDuplicationEntryException
コピー元のコンテンツID、コンテンツバージョンIDより、新たなコンテンツ/コンテンツバージョンを作成します。
dataMapの中でコピーに利用する情報は以下の通りです。
AppManagerDto
:K20mApp
の鏡})AppManagerVersionDto
:K20mAppVersion
の鏡})
第三引数にはロケールごとのデータのみを渡してください。
異なるコンテンツ/コンテンツバージョンを混在させると正しく更新されません。
コピー時に各種属性のバリデーションは行ていませんので、validate4Entry(List, Map)
,validate4EntryVersion(List, Map)
にてバリデーションしてください。
fromContentsId
- コピー元のコンテンツIDfromContentsVesionId
- コピー元のコンテンツバージョンIDdataMap
- 登録データ(ロケールID、更新データのMap)jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外KaidenNotFoundTargetDataException
- コピー対象データが見つからないKaidenDuplicationEntryException
- 重複登録例外String createLinkApp(String fromContentsId, String fromContentsVesionId, Map<String,AppManagerDto> dataMap) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException, KaidenNotFoundTargetDataException, KaidenDuplicationEntryException
コピー内容などはcopyContents(String, String, Map)
と同様ですが、以下の変更が加えれれます
fromContentsId
- コピー元のコンテンツIDfromContentsVesionId
- コピー元のコンテンツバージョンIDdataMap
- 登録データ(ロケールID、更新データのMap)jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外KaidenNotFoundTargetDataException
- コピー対象データが見つからないKaidenDuplicationEntryException
- 重複登録例外List<KaidenValidateResult> validate4RenewVersion(List<?> dtoList, Map<String,String> surfaces)
項目名 | 検証内容 |
---|---|
コンテンツID | 必須、半角英数字、20桁 |
コンテンツバージョンID | 必須、20桁 |
案件番号採番クラスID | 必須、皆伝コード、1000桁 |
開始日 | 必須、日付(システム期間内) |
終了日 | 必須、日付(システム期間内)、開始日・終了日大小チェック |
ステータス | 必須、VersionStatus 確認 |
dtoList
- 検証対象surfaces
- メッセージ置換用ラベル(フィールドキー、ラベル内容)void renew(Map<String,AppManagerDto> dataMap) throws KaidenOptimisticLockException, jp.co.intra_mart.foundation.workflow.exception.WorkflowException
更新対象は以下の通り
AppManagerDto
:K20mApp
の鏡})dataMap
- 更新対象データ(ロケールID、更新データのMap)KaidenOptimisticLockException
- 重複登録例外jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外AppManagerDto selectAppGadgetOnly(String contentsId, String contentsVersionId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
指定されたキーで申請書マスタデータを検索し、画面パスIDに関わらず定義されているガジェットの一覧を返却します。
画面パスIDを除いて集約するため、検索結果には申請書ガジェットマスタDTOの下記項目のみ情報を保持します。
contentsId, contentsVersionId, gadgetClass, gadgetVariation, gadgetInstance, javaPath
それ以外のフィールドについては値は保証していません。
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外List<AppManagerDto> selectAppList(AppManagerDto criteria, List<OrderDto> order)
返却対象は以下の通り
AppManagerDto
:K20mApp
の鏡})以下の条件でSQL検索します。
criteria
- 検索条件order
- ソート順Map<String,Object> selectAppListKeywordFilter(AppManagerDto criteria, List<OrderDto> order, KeywordsCriteriaDto keywordsCriteria)
返却対象は以下の通り
AppManagerDto
:K20mApp
の鏡})以下の条件でSQL検索し、その結果をキーワードフィルタリングします。
criteria
- 検索条件order
- ソート順keywordsCriteria
- キーワード条件List<KaidenValidateResult> validate4Entry(List<?> dtoList, Map<String,String> surfaces)
項目名 | 検証内容 |
---|---|
コンテンツId | 必須、半角英数字、20桁 |
コンテンツ名 | 必須、50桁 |
備考 | 500桁 |
申請書タイプ | 必須 |
dtoList
- 検証対象surfaces
- メッセージ置換用ラベル(フィールドキー、ラベル内容)List<KaidenValidateResult> validate4Renew(List<?> dtoList, Map<String,String> surfaces)
項目名 | 検証内容 |
---|---|
コンテンツId | 必須、半角英数字、20桁 |
コンテンツ名 | 必須、50桁 |
備考 | 500桁 |
dtoList
- 検証対象surfaces
- メッセージ置換用ラベル(フィールドキー、ラベル内容)List<AppManagerVersionDto> selectAppVersionList(String contentsId, String contentsVersionId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
返却対象は以下の通り。
AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})開始日順にソートして返却します
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンID *nullを指定するとすべてのバージョンを返却jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外List<AppManagerVersionDto> selectAppVersionList(String contentsId, String contentsVersionId, String localeId) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
返却対象は以下の通り。
AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})開始日順にソートして返却します
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンID *nullを指定するとすべてのバージョンを返却localeId
- ロケールIDjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外List<AppManagerVersionDto> selectAppVersionList(String contentsId, String contentsVersionId, String localeId, List<OrderDto> order) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
返却対象は以下の通り。
AppManagerVersionDto
:K20mAppVersion
の鏡})AppManagerGadgetDto
:K20mAppGadget
の鏡})orderの設定に従ってソートして返却
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンID *nullを指定するとすべてのバージョンを返却localeId
- ロケールIDorder
- ソート順jp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外List<GadgetMasterManagerFieldGroupDto> selectSavedFieldGroupList(String contentsId, String contentsVersionId, String pagePathId, String gadgetClass, String gadgetVariation, String localeId)
申請書ガジェットフィールドに展開されているガジェットフィールドグループの状態を復元します。
必須タイプが"0"(デフォルト任意)または"1"(デフォルト必須)のフィールドを取得します。
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDpagePathId
- ページパスIDgadgetClass
- ガジェットクラスgadgetVariation
- ガジェットバリエーションlocaleId
- ロケールIdList<Map<String,Object>> selectSavedFieldList(Map<String,Object> criteria)
申請書ガジェットフィールドに展開されているガジェットフィールド一覧を取得します。
criteria
- 検索条件List<AppManagerGadgetValidationDto> selectSavedValidationList(Map<String,Object> criteria)
申請書ガジェットフィールドに展開されているガジェットバリデーション一覧を取得します。
criteria
- 検索条件List<AppManagerExtTextDto> selectSavedExtTextList(Map<String,Object> criteria)
criteria
- 検索条件List<AppManagerVersionDto> selectDeleteVersion4OverlapTerm(String contentsId, String contentsVersionId, Timestamp startDate, Timestamp endDate)
contentsId
- コンテンツIdcontentsVersionId
- コンテンツバージョンIdstartDate
- 開始日endDate
- 終了日List<Map<String,Object>> selectPageTypeList(String contentsId, String contentsVersionId)
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDMap<String,Object> selectContentsList4MstSearch(Map<String,Object> criteria, List<OrderDto> order, KeywordsCriteriaDto keywordsCriteria)
criteria
- 検索条件order
- ソート順keywordsCriteria
- キーワード条件List<AppManagerExtUserPgmDto> selectExtUserPgmList(Map<String,Object> criteria, List<OrderDto> order)
criteria
- 検索条件order
- ソート順List<AppManagerExtParameterDto> selectExtParameterList(Map<String,Object> criteria, List<OrderDto> order)
criteria
- 検索条件order
- ソート順List<AppManagerGadgetDto> selectAppGadgetList(Map<String,Object> criteriaMap)
criteriaMap
- 検索条件List<AppManagerPageScreenInfoDto> selectPageScreenInfoList(Map<String,Object> criteria, List<OrderDto> order)
criteria
- 検索条件order
- ソート順List<Map<String,Object>> selectGadgetSurfaceList(Map<String,Object> criteria)
criteria
- 検索条件List<jp.co.intra_mart.foundation.workflow.administrator.model.ContentsDetailDataModel> createImContentsDataList(String contentsId, String contentsVersionId, Map<String,AppManagerVersionDto> appVersionMap, List<KaidenPageTypeDto> kaidenPageTypeDtoList, String pagePathNoChangeChecked, String userProgramNoChangeChecked) throws jp.co.intra_mart.foundation.workflow.exception.WorkflowException
contentsId
- コンテンツIDcontentsVersionId
- コンテンツバージョンIDappVersionMap
- 申請書バージョン情報kaidenPageTypeDtoList
- ページタイプ情報pagePathNoChangeChecked
- 「画面情報を変更しない」チェックuserProgramNoChangeChecked
- 「ユーザプログラム情報を変更しない」チェックjp.co.intra_mart.foundation.workflow.exception.WorkflowException
- ワークフロー例外Copyright © 2023 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.