org.seasar.cubby.action.impl
クラス ActionErrorsImpl

java.lang.Object
  上位を拡張 org.seasar.cubby.action.impl.ActionErrorsImpl
すべての実装されたインタフェース:
ActionErrors

public class ActionErrorsImpl
extends Object
implements ActionErrors

アクションエラーの実装クラス

導入されたバージョン:
1.0.0
作成者:
agata, baba

コンストラクタの概要
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
 

コンストラクタの詳細

ActionErrorsImpl

public ActionErrorsImpl()
メソッドの詳細

getAll

public List<String> getAll()
アクションで発生した全てのエラーの一覧を取得します。

定義:
インタフェース ActionErrors 内の getAll
戻り値:
アクションで発生した全てエラーの一覧

getFields

public Map<String,List<String>> getFields()
フィールドで発生したエラーの一覧を取得します。

定義:
インタフェース ActionErrors 内の getFields
戻り値:
フィールドで発生したエラーの一覧

getIndexedFields

public Map<String,Map<Integer,List<String>>> getIndexedFields()
インデックス付きフィールドで発生したエラーの一覧を取得します。

定義:
インタフェース ActionErrors 内の getIndexedFields
戻り値:
インデックス付きフィールドで発生したエラーの一覧

getOthers

public List<String> getOthers()
フィールド以外で発生したエラーの一覧を取得します。

定義:
インタフェース ActionErrors 内の getOthers
戻り値:
フィールド以外で発生したエラーの一覧

isEmpty

public boolean isEmpty()
エラーが存在しないかどうかを判定します。

定義:
インタフェース ActionErrors 内の isEmpty
戻り値:
エラーが存在しなければtrue

add

public void add(String message)
エラーメッセージを追加します。

定義:
インタフェース ActionErrors 内の add
パラメータ:
message - メッセージ

add

public void add(String message,
                String... fieldNames)
エラーメッセージを追加します。

定義:
インタフェース ActionErrors 内の add
パラメータ:
message - メッセージ
fieldNames - フィールド名

add

public void add(String message,
                FieldInfo... fieldInfos)
エラーメッセージを追加します。

定義:
インタフェース ActionErrors 内の add
パラメータ:
message - メッセージ
fieldInfos - フィールド情報

clear

public void clear()
エラーをクリアします。

定義:
インタフェース ActionErrors 内の clear


Copyright © 2006-2009 The Seasar Foundation. All Rights Reserved.