jp.go.nict.langrid.wrapper.common.db.dao
クラス BilingualDictionaryDao

java.lang.Object
  上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.AbstractDao
      上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.BasicEntityDao<Translation,BasicEntityTable<Translation>>
          上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.BilingualDictionaryDao

public class BilingualDictionaryDao
extends BasicEntityDao<Translation,BasicEntityTable<Translation>>


コンストラクタの概要
BilingualDictionaryDao(ConnectionManager connectionManager, DbDictionary dbDictionary, String tableName, int maxCount)
           
 
メソッドの概要
 long addTranslation(Language[] languages, String[] translations)
           
 boolean deleteTranslation(long id)
           
 void dump(PrintStream ps)
           
 Collection<Translation> searchTranslations(Language headLang, Language[] targetLangs, String headWord, MatchingMethod matchingMethod)
           
 void updateTranslation(long id, Language[] languages, String[] translations)
           
 
クラス jp.go.nict.langrid.wrapper.common.db.dao.BasicEntityDao から継承されたメソッド
clear, delete, getSequenceTable, getTable, insert, search, update
 
クラス 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
 

コンストラクタの詳細

BilingualDictionaryDao

public BilingualDictionaryDao(ConnectionManager connectionManager,
                              DbDictionary dbDictionary,
                              String tableName,
                              int maxCount)
メソッドの詳細

searchTranslations

public Collection<Translation> searchTranslations(Language headLang,
                                                  Language[] targetLangs,
                                                  String headWord,
                                                  MatchingMethod matchingMethod)
                                           throws DaoException
例外:
DaoException

addTranslation

public long addTranslation(Language[] languages,
                           String[] translations)
                    throws DaoException
例外:
DaoException

deleteTranslation

public boolean deleteTranslation(long id)
                          throws DaoException
例外:
DaoException

updateTranslation

public void updateTranslation(long id,
                              Language[] languages,
                              String[] translations)
                       throws DaoException
例外:
DaoException

dump

public void dump(PrintStream ps)
          throws DaoException
例外:
DaoException