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, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getPeriod, 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
DirectoryUnsupportedOperationExceptionget in interface Directory<T extends DeviceType>ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<T> list() throws ru.bitel.bgbilling.common.BGException
Directorylist in interface 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()