public abstract class DeviceTypeDao<T extends DeviceType> extends ru.bitel.common.dao.AbstractIdDao<T> implements Directory<T>
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, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update, updateImpl
public DeviceTypeDao(java.sql.Connection con, int mid, java.lang.String tableName)
public T get(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
Directory
UnsupportedOperationException
get
in interface Directory<T extends DeviceType>
ru.bitel.bgbilling.common.BGException
public java.util.List<T> list() throws ru.bitel.bgbilling.common.BGException
Directory
list
in interface Directory<T extends DeviceType>
ru.bitel.bgbilling.common.BGException
public void activateConfig(int deviceTypeId, int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected abstract T newDeviceType()