public class MailTemplateManager
extends jp.co.intra_mart.system.workflow.common.AbstractBase
管理するメールテンプレートファイルは以下の通りです。
[%PUBLIC_STORAGE_PATH%]
/im_workflow
/data
/[%テナントID%]
/[%テナント単位の設定値(master-file-dir)%]
/mail
/テンプレートファイル名_[%ロケール%].xml
/template.xml
[%ロケール%]
日本語 : ja
英語 : en
中国語 : zh_CN
など
メールテンプレートファイルを新規作成時、元となるテンプレートファイルが
見つからない場合は template.xml を使用します。
| コンストラクタと説明 |
|---|
MailTemplateManager()
コンストラクタ
メール定義情報管理マネージャを新しく生成します。 |
MailTemplateManager(String loginGroupId)
非推奨です。
MailTemplateManager() を使用してください。 |
public MailTemplateManager()
@Deprecated public MailTemplateManager(String loginGroupId)
MailTemplateManager() を使用してください。loginGroupId - ログイングループIDpublic void abortFileControl()
throws WorkflowException
WorkflowException - ワークフロー例外クラスpublic void beginFileControl()
public void createMailTemplateData(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void createMailTemplateDataFamily(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void createMailTemplateTypeData(MailTemplateTypeModel... models) throws WorkflowException
models - メールテンプレート種別情報の配列WorkflowException - ワークフロー例外クラスpublic void deleteMailTemplateData(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void deleteMailTemplateDataFamily(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void deleteMailTemplateTypeData(MailTemplateTypeModel... models) throws WorkflowException
models - メールテンプレート種別情報の配列WorkflowException - ワークフロー例外クラスpublic void flushFileControl()
throws WorkflowException
WorkflowException - ワークフロー例外クラスpublic MailTemplateDataModel[] getMailTemplateData(String mailId) throws WorkflowException
mailId - メールIDWorkflowException - ワークフロー例外クラスpublic int getMailTemplateDataCount(String mailId) throws WorkflowException
mailId - メールIDWorkflowException - ワークフロー例外クラスpublic int getMailTemplateDataCountWithLocale(String mailId, String localeId) throws WorkflowException
mailId - メールIDlocaleId - ロケールIDWorkflowException - ワークフロー例外クラスpublic MailTemplateDataModel[] getMailTemplateDataFamily(String mailId) throws WorkflowException
mailId - メールIDWorkflowException - ワークフロー例外クラスpublic MailTemplateDataModel getMailTemplateDataFamilyWithLocale(String mailId, String localeId) throws WorkflowException
mailId - メールIDlocaleId - ロケールIDWorkflowException - ワークフロー例外クラスpublic MailTemplateDataListModel[] getMailTemplateDataList(MailTemplateSearchConditionInfo condition) throws WorkflowException
condition - メールテンプレート一覧情報検索条件WorkflowException - ワークフロー例外クラスpublic int getMailTemplateDataListCount(MailTemplateSearchConditionInfo condition) throws WorkflowException
condition - メールテンプレート一覧情報検索条件WorkflowException - ワークフロー例外クラスpublic int getMailTemplateDataListCountWithAccessAuth(MailTemplateSearchConditionInfo condition, TargetModel... models) throws WorkflowException
condition - メールテンプレート一覧情報検索条件models - 対象情報の配列WorkflowException - ワークフロー例外クラス@Deprecated public int getMailTemplateDataListCountWithAccessRole(MailTemplateSearchConditionInfo condition, String... accessRole) throws WorkflowException
getMailTemplateDataListCountWithAccessAuth(MailTemplateSearchConditionInfo, TargetModel...)
を使用してください。condition - メールテンプレート一覧情報検索条件accessRole - アクセスロールの配列WorkflowException - ワークフロー例外クラスpublic MailTemplateDataListModel[] getMailTemplateDataListWithAccessAuth(MailTemplateSearchConditionInfo condition, TargetModel... models) throws WorkflowException
condition - メールテンプレート一覧情報検索条件models - 対象情報の配列WorkflowException - ワークフロー例外クラス@Deprecated public MailTemplateDataListModel[] getMailTemplateDataListWithAccessRole(MailTemplateSearchConditionInfo condition, String... accessRole) throws WorkflowException
getMailTemplateDataListWithAccessAuth(MailTemplateSearchConditionInfo, TargetModel...) を使用してください。condition - メールテンプレート一覧情報検索条件accessRole - アクセスロールの配列WorkflowException - ワークフロー例外クラスpublic MailTemplateDataModel getMailTemplateDataWithLocale(String mailId, String localeId) throws WorkflowException
mailId - メールIDlocaleId - ロケールIDWorkflowException - ワークフロー例外クラスpublic MailTemplateTypeModel[] getMailTemplateTypeData(String mailId) throws WorkflowException
mailId - メールIDWorkflowException - ワークフロー例外クラスpublic ContentsVersionViewDataModel[] getMailTemplateUseStatusList(ContentsVersionViewDataSearchConditionInfo condition) throws WorkflowException
condition - コンテンツ・バージョンの一覧表示情報(利用状況一覧)検索条件WorkflowException - ワークフロー例外クラスpublic int getMailTemplateUseStatusListCount(ContentsVersionViewDataSearchConditionInfo condition) throws WorkflowException
condition - コンテンツ・バージョンの一覧表示情報(利用状況一覧)検索条件WorkflowException - ワークフロー例外クラスpublic void updateMailTemplateData(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void updateMailTemplateDataFamily(MailTemplateDataModel... models) throws WorkflowException
models - メールテンプレート情報の配列WorkflowException - ワークフロー例外クラスpublic void updateMailTemplateTypeData(MailTemplateTypeModel... models) throws WorkflowException
models - メールテンプレート種別情報の配列WorkflowException - ワークフロー例外クラスCopyright © 2012 NTT DATA INTRAMART CORPORATION