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, getAndUpdate
public Device getDevice(int contractId, java.lang.String hash) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Device> getContractDeviceList(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int getContractId(java.lang.String hash) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected 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.SQLException
ru.bitel.bgbilling.common.BGException