public class ExportEmlTaskService extends Object
コンストラクタと説明 |
---|
ExportEmlTaskService()
コンストラクター。
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
count()
ユーザのEMLエクスポートタスク数を取得します。
|
ExportEmlTask |
get(String taskCd)
EMLエクスポートタスクの情報を取得します。
|
List<ExportEmlTaskListItem> |
list(ExportEmlTaskListOption option,
int offset,
int length)
ユーザの依頼の一覧を取得します。
|
String |
push(ExportEmlTaskCreateOption option)
タスクを作成します
|
void |
remove(String... taskCds)
指定のEMLエクスポートタスクを削除します。
|
public ExportEmlTaskService()
InitProcess
が完了していなければ失敗します。@JSFunction public int count()
GroupMailException
- 指定のフォルダが存在しない場合@JSFunction public ExportEmlTask get(String taskCd) throws GroupMailValidationException
taskCd
- タスクコードGroupMailValidationException
- 指定のタスクが存在しないか、コンテキストのユーザのものでない場合@JSFunction public List<ExportEmlTaskListItem> list(ExportEmlTaskListOption option, int offset, int length)
option
- ソートオプションoffset
- 取得開始位置length
- 取得件数@JSFunction public String push(ExportEmlTaskCreateOption option) throws GroupMailValidationException
option
- タスクの設定GroupMailValidationException
- タスクの依頼上限を超えている場合@JSFunction public void remove(String... taskCds) throws GroupMailValidationException
taskCds
- 対象のタスクコードGroupMailValidationException
- 存在しないタスクや実行中のタスクおよびコンテキストのユーザのものではないタスクが指定されている場合、タスクが削除できない状態の場合Copyright © 2022 UCM Co., Ltd.. All rights reserved.