jp.go.nict.langrid.wrapper.common.db.dao
クラス BasicEntityDao<T extends BasicEntity,U extends BasicEntityTable<T>>

java.lang.Object
  上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.AbstractDao
      上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.BasicEntityDao<T,U>
直系の既知のサブクラス:
BilingualDictionaryDao, CategorizedEntityDao, ParallelTextDao

public abstract class BasicEntityDao<T extends BasicEntity,U extends BasicEntityTable<T>>
extends AbstractDao

バージョン:
$Revision: 4856 $
作成者:
Takao Nakaguchi, $Author: nakaguchi $

コンストラクタの概要
BasicEntityDao(ConnectionManager connectionManager, U table, SequenceTable sequenceTable)
           
 
メソッドの概要
protected  void clear()
           
protected  boolean delete(long id)
           
protected  SequenceTable getSequenceTable()
           
protected  BasicEntityTable<T> getTable()
           
protected  long insert(Language[] languages, String[] values)
           
protected  Collection<T> search(Language matchingLanguage, Language[] subLanguages, String matchingValue, MatchingMethod matchingMethod, Transformer<ResultSet,T> transformer)
           
protected  boolean update(long id, Language[] languages, String[] values)
           
 
クラス jp.go.nict.langrid.wrapper.common.db.dao.AbstractDao から継承されたメソッド
beginTransaction, closeConnection, closeConnection, commitTransaction, getConnection, rollbackTransaction, rollbackTransaction
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicEntityDao

public BasicEntityDao(ConnectionManager connectionManager,
                      U table,
                      SequenceTable sequenceTable)
メソッドの詳細

clear

protected void clear()
              throws DaoException
例外:
DaoException

search

protected Collection<T> search(Language matchingLanguage,
                               Language[] subLanguages,
                               String matchingValue,
                               MatchingMethod matchingMethod,
                               Transformer<ResultSet,T> transformer)
                                            throws DaoException
例外:
DaoException

insert

protected long insert(Language[] languages,
                      String[] values)
               throws DaoException
例外:
DaoException

delete

protected boolean delete(long id)
                  throws DaoException
例外:
DaoException

update

protected boolean update(long id,
                         Language[] languages,
                         String[] values)
                  throws DaoException
例外:
DaoException

getTable

protected BasicEntityTable<T> getTable()

getSequenceTable

protected SequenceTable getSequenceTable()