public abstract class DeviceTypeDao<T extends DeviceType>
extends ru.bitel.common.dao.AbstractIdDao<T>
implements ru.bitel.bgbilling.kernel.directory.api.common.Directory<T>
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, 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 |
|---|
DeviceTypeDao(java.sql.Connection con,
int mid,
java.lang.String tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateConfig(int deviceTypeId,
int id) |
T |
get(java.lang.String title)
Получение элемента по title(name)
Может быть не имплементировано - в этом случае бросается
UnsupportedOperationException |
java.util.List<T> |
list()
Получение всего списка элементов из справочника
|
protected abstract T |
newDeviceType() |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update, updateImplpublic DeviceTypeDao(java.sql.Connection con,
int mid,
java.lang.String tableName)
public T get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.DirectoryUnsupportedOperationExceptionget in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<T extends DeviceType>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<T> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.kernel.directory.api.common.Directorylist in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<T extends DeviceType>ru.bitel.bgbilling.common.BGExceptionpublic void activateConfig(int deviceTypeId,
int id)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected abstract T newDeviceType()