public class ParallelTextWithIdDao extends CategorizedEntityDao<ParallelTextWithId,BasicEntityTable<ParallelTextWithId>>
| Constructor and Description |
|---|
ParallelTextWithIdDao(ConnectionManager connectionManager,
DbDictionary dbDictionary,
String tableName,
int maxCount) |
| Modifier and Type | Method and Description |
|---|---|
long |
addParallelTextWithId(Language[] languages,
String[] texts) |
boolean |
deleteParallelTextWithId(long id) |
Collection<ParallelTextWithId> |
searchParallelTextWithIds(Language sourceLang,
Language[] targetLangs,
String matchingValue,
MatchingMethod matchingMethod,
long[] categoryIds) |
boolean |
updateParallelTextWithId(long id,
Language[] languages,
String[] texts) |
void |
updateParallelTextWithIdCategories(long parallelTextWithIdId,
long[] categoryIds) |
addCategory, delete, deleteCategory, getCategoryTable, getMappingTable, listCategories, searchCategories, searchCategoryIds, searchEntitiesOfCategories, updateCategory, updateEntityCategoriesclear, getSequenceTable, getTable, insert, search, updatebeginTransaction, closeConnection, closeConnection, commitTransaction, getConnection, rollbackTransaction, rollbackTransactionpublic ParallelTextWithIdDao(ConnectionManager connectionManager, DbDictionary dbDictionary, String tableName, int maxCount)
public Collection<ParallelTextWithId> searchParallelTextWithIds(Language sourceLang, Language[] targetLangs, String matchingValue, MatchingMethod matchingMethod, long[] categoryIds) throws DaoException
DaoExceptionpublic long addParallelTextWithId(Language[] languages, String[] texts) throws DaoException
DaoExceptionpublic boolean deleteParallelTextWithId(long id)
throws DaoException
DaoExceptionpublic boolean updateParallelTextWithId(long id,
Language[] languages,
String[] texts)
throws DaoException
DaoExceptionpublic void updateParallelTextWithIdCategories(long parallelTextWithIdId,
long[] categoryIds)
throws DaoException
DaoException