public interface FWRoleManager
| 修飾子とタイプ | メソッドと説明 |
|---|---|
FWAction |
checkAction(String preStatus,
String postStatus)
指定されたロールのユーザーが指定されたアクション(ステータス遷移)を実行できるか判定します。
|
FWAction |
checkAction(String preStatus,
String postStatus,
String role)
ログイン中のユーザーが指定されたアクション(ステータス遷移)を実行できるか判定します。
|
List<String> |
getActions(String currentStatus)
ログイン中のユーザーが現在のステータスに対して起こせるアクション(遷移後のステータス)のリストを返します。
|
List<String> |
getActions(String currentStatus,
String role)
指定されたロールのユーザーが現在のステータスに対して起こせるアクション(遷移後のステータス)のリストを返します。
|
boolean |
isAccessAllow()
ログイン中のユーザーがリクエストされたURLに対してアクセスする権限を持つか判定します。
|
List<String> getActions(String currentStatus)
currentStatus - 現在のデータステータスList<String> getActions(String currentStatus, String role)
currentStatus - 現在のデータステータスrole - ロールFWAction checkAction(String preStatus, String postStatus) throws FWRoleException
preStatus - 遷移前のステータスpostStatus - 遷移後のステータスFWRoleException - 権限がない場合にスローFWAction checkAction(String preStatus, String postStatus, String role) throws FWRoleException
preStatus - 遷移前のステータスpostStatus - 遷移後のステータスrole - ロールFWRoleException - 権限がない場合にスローboolean isAccessAllow()
Handywedge ver 0.9.0. Copyright (c) 2019 Handywedge Co.,Ltd.