jp.go.nict.langrid.dao.hibernate.searchsupport
クラス AttributeSearchSupport<T extends AttributedElement<?>>

java.lang.Object
  上位を拡張 jp.go.nict.langrid.dao.hibernate.searchsupport.AttributeSearchSupport<T>
型パラメータ:
T - エレメントの型
すべての実装されたインタフェース:
SearchSupport<T>

public class AttributeSearchSupport<T extends AttributedElement<?>>
extends Object
implements SearchSupport<T>

属性の検索をサポートする。

バージョン:
$Revision: 12337 $
作成者:
$Author: nakaguchi $

コンストラクタの概要
AttributeSearchSupport()
           
 
メソッドの概要
 void appendWhereClouse(MatchingCondition c, String elementAlias, String parameterName, StringBuilder query, Map<String,Object> parameters)
          HQLのWhere句を追加する。
 void filterResults(MatchingCondition condition, List<T> results)
          クエリ発行後のフィルタリングを行う。
 boolean isFileteringNeeded()
          クエリ発行後に追加のフィルタリングが必要かどうかを返す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AttributeSearchSupport

public AttributeSearchSupport()
メソッドの詳細

appendWhereClouse

public void appendWhereClouse(MatchingCondition c,
                              String elementAlias,
                              String parameterName,
                              StringBuilder query,
                              Map<String,Object> parameters)
インタフェース SearchSupport の記述:
HQLのWhere句を追加する。

定義:
インタフェース SearchSupport<T extends AttributedElement<?>> 内の appendWhereClouse
パラメータ:
c - マッチング条件
elementAlias - クエリで検索するエレメントのエイリアス
parameterName - パラメータ名
query - HQL
parameters - パラメータ

isFileteringNeeded

public boolean isFileteringNeeded()
インタフェース SearchSupport の記述:
クエリ発行後に追加のフィルタリングが必要かどうかを返す。

定義:
インタフェース SearchSupport<T extends AttributedElement<?>> 内の isFileteringNeeded
戻り値:
必要な場合true

filterResults

public void filterResults(MatchingCondition condition,
                          List<T> results)
インタフェース SearchSupport の記述:
クエリ発行後のフィルタリングを行う。

定義:
インタフェース SearchSupport<T extends AttributedElement<?>> 内の filterResults
パラメータ:
condition - マッチング条件
results - クエリの結果