|
intra-mart(R) 6.0.13 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.foundation.wkf.Approver
承認関連のAPI
承認関連の処理に使用されるクラスです。
<サンプル>
フィールドの概要 | |
static String |
AGT_ALL
代理依頼されたもの全て表示(代理のみ使用) |
static String |
RETURN_TYPE_BEFORE
差戻し種別:前処理者へ差戻し |
static String |
RETURN_TYPE_START
差戻し種別:申請者へ差戻し |
コンストラクタの概要 | |
Approver(String user_cd,
String login_group_id)
コンストラクタ1(本人用) |
|
Approver(String agent_user_cd,
String user_cd,
String login_group_id)
コンストラクタ2(代理人用)。 |
メソッドの概要 | |
void |
approve(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd,
Boolean isFinish,
String comp_cd,
String orgn_cd,
String comment,
NegoModel nego,
RunExecutiveInfoModel executant,
String route_select_cd)
承認処理を実行します。 |
void |
approve(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd,
Boolean isFinish,
String comp_cd,
String orgn_cd,
String comment,
NegoModel nego,
RunUserInfoModel executant,
String route_select_cd)
承認処理を実行します。 |
void |
denial(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd,
String comp_cd,
String orgn_cd,
String comment,
NegoModel nego)
否認処理を実行します。 |
List |
getActivityTaskList(SearchCondition condition_key,
Sort[] sort_key,
int start,
int amount)
処理可能案件(未処理案件)一覧の取得を行います。 |
List |
getEndTaskList(SearchCondition condition_key,
Sort[] sort_key,
int start,
int amount)
処理済案件一覧の取得を行います。 |
List |
getTargetDepartment(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd)
所属組織を取得します。 |
void |
noTransaction()
データベーストランザクションを未使用にする。 |
void |
pullBack(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd)
引き戻し処理を実行します。 |
void |
sendBack(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd,
String type,
String comp_cd,
String orgn_cd,
String comment,
NegoModel nego)
差し戻し処理を実行します。 |
void |
suspend(String process_def_cd,
String version_cd,
String process_cd,
String activity_cd,
String comp_cd,
String orgn_cd,
String comment,
NegoModel nego)
保留処理を実行します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String AGT_ALL
public static final String RETURN_TYPE_START
public static final String RETURN_TYPE_BEFORE
コンストラクタの詳細 |
public Approver(String user_cd, String login_group_id) throws WKFApplicationException
user_cd
- 承認者のユーザID(必須)login_group_id
- ログイングループID(必須)
WKFApplicationException
- エラーコードpublic Approver(String agent_user_cd, String user_cd, String login_group_id) throws WKFApplicationException
agent_user_cd
- 代理承認者のユーザID(必須)user_cd
- 本来の処理者のユーザID(必須)login_group_id
- ログイングループID(必須)
WKFApplicationException
- エラーコードメソッドの詳細 |
public void noTransaction()
public void approve(String process_def_cd, String version_cd, String process_cd, String activity_cd, Boolean isFinish, String comp_cd, String orgn_cd, String comment, NegoModel nego, RunExecutiveInfoModel executant, String route_select_cd) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)isFinish
- 途中終了フラグ(任意:未指定時は途中終了しない)comp_cd
- ユーザ(処理者)の会社コード(任意:未所属の場合のみ未指定可)orgn_cd
- ユーザ(処理者)の組織コード(任意:未所属の場合のみ未指定可)comment
- 承認コメント(任意)nego
- 根回しメールオブジェクト(任意)executant
- 次承認者オブジェクト(次承認者が実行時選択時)route_select_cd
- ルート選択番号(次タスクがユーザ選択時)
WKFApplicationException
- エラーコードpublic void approve(String process_def_cd, String version_cd, String process_cd, String activity_cd, Boolean isFinish, String comp_cd, String orgn_cd, String comment, NegoModel nego, RunUserInfoModel executant, String route_select_cd) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)isFinish
- 途中終了フラグ(任意:未指定時は途中終了しない)comp_cd
- ユーザ(処理者)の会社コード(任意:未所属の場合のみ未指定可)orgn_cd
- ユーザ(処理者)の組織コード(任意:未所属の場合のみ未指定可)comment
- 承認コメント(任意)nego
- 根回しメールオブジェクト(任意)executant
- 次承認者オブジェクト(次承認者が実行時選択時)route_select_cd
- ルート選択番号(次タスクがユーザ選択時)
WKFApplicationException
- エラーコードpublic void denial(String process_def_cd, String version_cd, String process_cd, String activity_cd, String comp_cd, String orgn_cd, String comment, NegoModel nego) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)comp_cd
- ユーザ(処理者)の会社コード(任意:未所属の場合のみ未指定可)orgn_cd
- ユーザ(処理者)の組織コード(任意:未所属の場合のみ未指定可)comment
- 承認コメント(任意)nego
- 根回しメールオブジェクト(任意)
WKFApplicationException
- エラーコードpublic void suspend(String process_def_cd, String version_cd, String process_cd, String activity_cd, String comp_cd, String orgn_cd, String comment, NegoModel nego) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)comp_cd
- ユーザ(処理者)の会社コード(任意:未所属の場合のみ未指定可)orgn_cd
- ユーザ(処理者)の組織コード(任意:未所属の場合のみ未指定可)comment
- 承認コメント(任意)nego
- 根回しメールオブジェクト(任意)
WKFApplicationException
- エラーコードpublic void sendBack(String process_def_cd, String version_cd, String process_cd, String activity_cd, String type, String comp_cd, String orgn_cd, String comment, NegoModel nego) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)type
- 差戻し先(必須 start:申請者,before:前処理者)comp_cd
- ユーザ(処理者)の会社コード(任意:未所属の場合のみ未指定可)orgn_cd
- ユーザ(処理者)の組織コード(任意:未所属の場合のみ未指定可)comment
- 承認コメント(任意)nego
- 根回しメールオブジェクト(任意)
WKFApplicationException
- エラーコードpublic void pullBack(String process_def_cd, String version_cd, String process_cd, String activity_cd) throws WKFApplicationException
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)
WKFApplicationException
- エラーコードpublic List getActivityTaskList(SearchCondition condition_key, Sort[] sort_key, int start, int amount)
condition_key
- 検索条件オブジェクト(必須。必ずフィルターをセットしてください)sort_key
- ソート指定オブジェクト(任意。指定しない場合はnullを指定)start
- フェッチ開始位置(任意。指定しない場合は0を指定)amount
- フェッチ件数(任意。指定しない場合は0を指定)
public List getEndTaskList(SearchCondition condition_key, Sort[] sort_key, int start, int amount)
condition_key
- 検索条件オブジェクト(必須。必ずフィルターをセットしてください)sort_key
- ソート指定オブジェクト(任意。指定しない場合はnullを指定)start
- フェッチ開始位置(任意。指定しない場合は0を指定)amount
- フェッチ件数(任意。指定しない場合は0を指定)
public List getTargetDepartment(String process_def_cd, String version_cd, String process_cd, String activity_cd)
process_def_cd
- プロセス定義コード(必須)version_cd
- バージョンコード(必須)process_cd
- プロセスコード(必須)activity_cd
- アクティビティコード(必須)
|
intra-mart(R) 6.0.13 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |