public abstract class DeviceTypeDao<T extends DeviceType>
extends ru.bitel.common.dao.AbstractIdDao<T>
implements ru.bitel.bgbilling.kernel.directory.api.common.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) |
java.util.List<T> |
list() |
protected abstract T |
newDeviceType() |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getFromRS, getImpl, getListFromRS, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, 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
get
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<T extends DeviceType>
ru.bitel.bgbilling.common.BGException
public java.util.List<T> list() throws ru.bitel.bgbilling.common.BGException
list
in interface ru.bitel.bgbilling.kernel.directory.api.common.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()