public class MailsDAO extends GroupMailAbstractDAO<GmtFolderMail>
SQL_WHERE_IN_LIMITATION
コンストラクタと説明 |
---|
MailsDAO() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
count(String userCd,
String folderCd,
MessageListOptions options)
指定のフォルダは以下のメールの一覧の件数を返します。
|
Integer |
countExportMessages(String userCd,
MessageExportListOptions option)
エクスポート用の条件で対象が何件あるか件数を取得します。
|
Integer |
countForMaintenance(MaintenanceSearchOptions options,
Locale locale,
boolean authorize,
List<String> availableCompanies)
searchForMaintenance の検索結果の件数を返します。 |
Integer |
countSearchResult(String userCd,
String folderCd,
String keyword,
MessageSearchOptions options)
search の検索結果の件数を返します。 |
int |
countUnreads()
ゴミ箱以外にある未読メールの一覧の件数を返します。
|
List<MailsOverview> |
list(String userCd,
String folderCd,
MessageListOptions options,
int offset,
int length)
指定のフォルダ配下のメールの一覧を返します。
|
List<GmtMailDataWithSender> |
listExportMessages(String userCd,
MessageExportListOptions option,
int offset,
int length)
エクスポート用にメールの一覧を返します。
|
List<UnreadMail> |
listUnreads(String userCd,
UnreadListOption option,
int offset,
int length)
未読一覧を取得します。
|
List<MailsOverview> |
search(String userCd,
String folderCd,
String keyword,
MessageSearchOptions options,
int offset,
int length)
指定の条件で検索を行います。
|
List<MaintenanceListItem> |
searchForMaintenance(MaintenanceSearchOptions options,
Locale locale,
boolean authorize,
List<String> availableCompanies,
int offset,
int length)
メールメンテナンス用に指定の条件で検索を行います。
|
executeUpdate, getCount, getResultList, getResultList, getSingleResult
public int count(String userCd, String folderCd, MessageListOptions options)
userCd
- ユーザコードfolderCd
- フォルダコードoptions
- 検索オプションpublic Integer countExportMessages(String userCd, MessageExportListOptions option)
userCd
- ユーザコードoption
- 検索オプションpublic Integer countForMaintenance(MaintenanceSearchOptions options, Locale locale, boolean authorize, List<String> availableCompanies)
searchForMaintenance
の検索結果の件数を返します。options
- 検索オプションlocale
- ロケールauthorize
- 認可を考慮する場合true
availableCompanies
- 利用可能な会社コードの一覧public Integer countSearchResult(String userCd, String folderCd, String keyword, MessageSearchOptions options)
search
の検索結果の件数を返します。userCd
- ユーザコードkeyword
- キーワードfolderCd
- フォルダコードoptions
- 検索オプションpublic int countUnreads()
public List<MailsOverview> list(String userCd, String folderCd, MessageListOptions options, int offset, int length)
userCd
- ユーザコードfolderCd
- フォルダコードoptions
- 検索オプションoffset
- 取得開始位置length
- 取得件数public List<GmtMailDataWithSender> listExportMessages(String userCd, MessageExportListOptions option, int offset, int length)
userCd
- ユーザコードoption
- 検索オプションoffset
- 取得開始位置length
- 取得件数public List<UnreadMail> listUnreads(String userCd, UnreadListOption option, int offset, int length)
userCd
- ユーザコードoption
- ソートオプションoffset
- 取得開始位置length
- 取得件数public List<MailsOverview> search(String userCd, String folderCd, String keyword, MessageSearchOptions options, int offset, int length)
userCd
- ユーザコードfolderCd
- フォルダコードkeyword
- キーワードoptions
- 検索オプションoffset
- 取得開始位置length
- 取得件数public List<MaintenanceListItem> searchForMaintenance(MaintenanceSearchOptions options, Locale locale, boolean authorize, List<String> availableCompanies, int offset, int length)
options
- 検索オプションlocale
- ロケールavailableCompanies
- 利用可能な会社コードの一覧authorize
- 認可を考慮する場合true
offset
- 取得開始位置length
- 取得件数Copyright © 2019 UCM Co., Ltd.. All rights reserved.