public class DevicePortDao extends ru.bitel.common.dao.AbstractDao<DeviceInterface>
Constructor and Description |
---|
DevicePortDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
void |
delete(int deviceId,
int port) |
DeviceInterface |
get(int deviceId,
int port) |
protected DeviceInterface |
getFromRS(java.sql.ResultSet rs) |
protected DeviceInterface |
getFromRS(java.sql.ResultSet rs,
boolean title,
boolean indexList) |
java.util.List<DeviceInterface> |
list(int deviceId,
int status,
boolean title,
boolean indexList,
boolean subscription) |
java.util.List<DeviceInterface> |
list(int deviceId,
int status,
boolean title,
boolean indexList,
java.lang.String interfaceTitle) |
protected void |
updateImpl(DeviceInterface b) |
protected DeviceInterface getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<DeviceInterface>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected DeviceInterface getFromRS(java.sql.ResultSet rs, boolean title, boolean indexList) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(DeviceInterface b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<DeviceInterface>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<DeviceInterface> list(int deviceId, int status, boolean title, boolean indexList, java.lang.String interfaceTitle) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<DeviceInterface> list(int deviceId, int status, boolean title, boolean indexList, boolean subscription) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void delete(int deviceId, int port) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public DeviceInterface get(int deviceId, int port) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException