public class TvChannelSpecDao extends AbstractEntityDao<TvChannelSpec> implements ru.bitel.bgbilling.kernel.directory.api.common.Directory<TvChannelSpec>
AbstractEntityAttrDao.AddressItemModifiedEventListener
getImplPS, insertEntityPS, updateEntityPS
entitySpecAttrDirectory, entitySpecDirectory, filterWeightComparator, userId
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName
Constructor and Description |
---|
TvChannelSpecDao(java.sql.Connection con,
int moduleId) |
TvChannelSpecDao(java.sql.Connection con,
int moduleId,
int userId) |
Modifier and Type | Method and Description |
---|---|
TvChannelSpec |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
protected TvChannelSpec |
getFromRSImpl(java.sql.ResultSet rs) |
java.util.List<TvChannelSpec> |
list()
Получение всего списка элементов из справочника
|
java.util.List<TvChannelSpec> |
list(int serviceSpecId,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String title,
java.util.List<FilterEntityAttr> entityFilter) |
void |
recycle() |
protected void |
updateImpl(TvChannelSpec b)
Этот метод каждый реализует сам со своей логикой.
|
deleteImpl, getFromRS, getImpl, linkEntity, list, list, listImpl, unlinkEntity, update
filterInit, filterJoin, filterToPS, getAttribute, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getFromRS, listImpl, onAddressItemUpdate, updateEntityAttribute, updateEntityAttributes
delete, get, getAndDelete, getAndUpdate
close, delete, eq, get, getById, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, processException, setStatementParam
public TvChannelSpecDao(java.sql.Connection con, int moduleId)
public TvChannelSpecDao(java.sql.Connection con, int moduleId, int userId)
protected TvChannelSpec getFromRSImpl(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRSImpl
in class AbstractEntityDao<TvChannelSpec>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public TvChannelSpec get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
UnsupportedOperationException
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<TvChannelSpec>
ru.bitel.bgbilling.common.BGException
public java.util.List<TvChannelSpec> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directory
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<TvChannelSpec>
ru.bitel.bgbilling.common.BGException
public java.util.List<TvChannelSpec> list(int serviceSpecId, java.util.Date dateFrom, java.util.Date dateTo, java.lang.String title, java.util.List<FilterEntityAttr> entityFilter) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(TvChannelSpec b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<TvChannelSpec>
b
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибкиpublic void recycle() throws ru.bitel.bgbilling.common.BGException
recycle
in class AbstractEntityDao<TvChannelSpec>
ru.bitel.bgbilling.common.BGException