public class OmegaDao extends ru.bitel.common.dao.AbstractIdDao<Device>
| Constructor and Description |
|---|
OmegaDao(java.sql.Connection con,
int moduleId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Device> |
getContractDeviceList(int contractId) |
int |
getContractId(java.lang.String hash) |
Device |
getDevice(int contractId,
java.lang.String hash) |
protected Device |
getFromRS(java.sql.ResultSet rs) |
protected void |
updateImpl(Device device) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic Device getDevice(int contractId, java.lang.String hash) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<Device> getContractDeviceList(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic int getContractId(java.lang.String hash)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected Device getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<Device>java.sql.SQLExceptionru.bitel.bgbilling.common.BGException