public final class CoreNotices extends Object
修飾子とタイプ | メソッドと説明 |
---|---|
static Map<Address.RecipientType,List<Address>> |
getRecipients(String mailId)
引数のメールIDのメールについて宛先を取得します。
|
static Couple<GmtMailNotice,Map<Address.RecipientType,List<Address>>> |
getRecipients(String mailId,
String requestUserCd)
引数のメールIDのメールについて宛先を取得します。
|
static Map<String,List<Address>> |
retrieveRecipients(List<String> mailIds,
Address.RecipientType... types)
指定のメールIDの一覧に対して、一括して受信者の情報を返します。
|
static List<OrderedAddressWithAddressType> |
storeNotices(Message.RecSendFlag recSend,
Message message,
Locale locale)
メールの配信・グループ配信情報を保存します。
|
static jp.co.intra_mart.foundation.master.user.model.UserListNode[] |
unfold(Address address,
boolean unfoldNested)
IM共通マスタのユーザ一覧ノードに展開します。
|
static jp.co.intra_mart.foundation.master.user.model.UserListNode[] |
unfold(Address address,
Locale locale,
boolean unfoldNested)
IM共通マスタのユーザ一覧ノードに展開します。
|
static Set<Address> |
unfoldToAddress(Address target,
Locale locale,
boolean unfoldNested)
このアドレスを個別のユーザに展開します。
|
static void |
updateReferenceMark(Message message)
メールオブジェクトの内容にしたがって参照マークを更新します。
|
public static Map<Address.RecipientType,List<Address>> getRecipients(String mailId)
mailId
- メールIDAddress.RecipientType
ごとに宛先の配列を格納した Mappublic static Couple<GmtMailNotice,Map<Address.RecipientType,List<Address>>> getRecipients(String mailId, String requestUserCd)
mailId
- メールIDrequestUserCd
- 取得要求者のユーザコードAddress.RecipientType
ごとに宛先の配列を格納した Mappublic static Map<String,List<Address>> retrieveRecipients(List<String> mailIds, Address.RecipientType... types)
mailIds
- メールIDの一覧types
- 対称にする受信者区分public static List<OrderedAddressWithAddressType> storeNotices(Message.RecSendFlag recSend, Message message, Locale locale) throws GroupMailException
recSend
- 送受信区分(保存・送信)message
- メールlocale
- 宛先の展開にあたり必要になるロケールAddressType
、展開されたAddress
、ソート順)GroupMailException
- ユーザ・グループのマスタ参照に問題があった場合public static jp.co.intra_mart.foundation.master.user.model.UserListNode[] unfold(Address address, boolean unfoldNested) throws jp.co.intra_mart.foundation.exception.BizApiException
address
- アドレスunfoldNested
- true
の場合配下のグループに所属するユーザを含めて展開、false
の場合直接所属するユーザのみ展開jp.co.intra_mart.foundation.exception.BizApiException
- 展開に失敗した場合public static jp.co.intra_mart.foundation.master.user.model.UserListNode[] unfold(Address address, Locale locale, boolean unfoldNested) throws jp.co.intra_mart.foundation.exception.BizApiException
address
- アドレスlocale
- 名称を取得するロケールunfoldNested
- true
の場合配下のグループに所属するユーザを含めて展開、false
の場合直接所属するユーザのみ展開jp.co.intra_mart.foundation.exception.BizApiException
- 展開に失敗した場合public static Set<Address> unfoldToAddress(Address target, Locale locale, boolean unfoldNested) throws jp.co.intra_mart.foundation.exception.BizApiException
target
- 展開するアドレスlocale
- 展開後の名称を取得するロケールunfoldNested
- true
の場合配下のグループに所属するユーザを含めて展開、false
の場合直接所属するユーザのみ展開jp.co.intra_mart.foundation.exception.BizApiException
- IM共通マスタのアクセスに失敗した場合public static void updateReferenceMark(Message message)
message
- メールCopyright © 2019 UCM Co., Ltd.. All rights reserved.