public class ParallelTextDao extends BasicEntityDao<ParallelText,BasicEntityTable<ParallelText>>
| Constructor and Description |
|---|
ParallelTextDao(ConnectionManager connectionManager,
DbDictionary dbDictionary,
String tableName,
int maxCount) |
| Modifier and Type | Method and Description |
|---|---|
long |
addParallelText(Language[] languages,
String[] texts) |
boolean |
deleteParallelText(long id) |
Collection<ParallelText> |
searchParallelTexts(Language sourceLang,
Language[] targetLangs,
String source,
MatchingMethod matchingMethod) |
boolean |
updateParallelText(long id,
Language[] languages,
String[] texts) |
clear, delete, getSequenceTable, getTable, insert, search, updatebeginTransaction, closeConnection, closeConnection, commitTransaction, getConnection, rollbackTransaction, rollbackTransactionpublic ParallelTextDao(ConnectionManager connectionManager, DbDictionary dbDictionary, String tableName, int maxCount)
public Collection<ParallelText> searchParallelTexts(Language sourceLang, Language[] targetLangs, String source, MatchingMethod matchingMethod) throws DaoException
DaoExceptionpublic long addParallelText(Language[] languages, String[] texts) throws DaoException
DaoExceptionpublic boolean deleteParallelText(long id)
throws DaoException
DaoExceptionpublic boolean updateParallelText(long id,
Language[] languages,
String[] texts)
throws DaoException
DaoException