|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.cubby.action.impl.ActionErrorsImpl
public class ActionErrorsImpl
アクションエラーの実装クラス
コンストラクタの概要 | |
---|---|
ActionErrorsImpl()
|
メソッドの概要 | |
---|---|
void |
add(String message)
エラーメッセージを追加します。 |
void |
add(String message,
FieldInfo... fieldInfos)
エラーメッセージを追加します。 |
void |
add(String message,
String... fieldNames)
エラーメッセージを追加します。 |
void |
clear()
エラーをクリアします。 |
List<String> |
getAll()
アクションで発生した全てのエラーの一覧を取得します。 |
Map<String,List<String>> |
getFields()
フィールドで発生したエラーの一覧を取得します。 |
Map<String,Map<Integer,List<String>>> |
getIndexedFields()
インデックス付きフィールドで発生したエラーの一覧を取得します。 |
List<String> |
getOthers()
フィールド以外で発生したエラーの一覧を取得します。 |
boolean |
isEmpty()
エラーが存在しないかどうかを判定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ActionErrorsImpl()
メソッドの詳細 |
---|
public List<String> getAll()
ActionErrors
内の getAll
public Map<String,List<String>> getFields()
ActionErrors
内の getFields
public Map<String,Map<Integer,List<String>>> getIndexedFields()
ActionErrors
内の getIndexedFields
public List<String> getOthers()
ActionErrors
内の getOthers
public boolean isEmpty()
ActionErrors
内の isEmpty
public void add(String message)
ActionErrors
内の add
message
- メッセージpublic void add(String message, String... fieldNames)
ActionErrors
内の add
message
- メッセージfieldNames
- フィールド名public void add(String message, FieldInfo... fieldInfos)
ActionErrors
内の add
message
- メッセージfieldInfos
- フィールド情報public void clear()
ActionErrors
内の clear
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |