public class VoiceOperAccountDao extends ru.bitel.common.dao.AbstractIdDao<VoiceOperAccount>
Constructor and Description |
---|
VoiceOperAccountDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
protected int |
deleteImpl(int id) |
protected VoiceOperAccount |
getById(int id) |
protected VoiceOperAccount |
getFromRS(java.sql.ResultSet rs) |
java.util.List<VoiceOperAccount> |
list() |
java.util.List<VoiceOperAccount> |
list(int contractId,
Period period) |
protected void |
updateImpl(VoiceOperAccount account) |
delete, get, getAndDelete, getAndUpdate
public VoiceOperAccountDao(java.sql.Connection con, int moduleId)
protected VoiceOperAccount getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<VoiceOperAccount>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(VoiceOperAccount account) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<VoiceOperAccount>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<VoiceOperAccount> list() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<VoiceOperAccount> list(int contractId, Period period) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected VoiceOperAccount getById(int id) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
getById
in class ru.bitel.common.dao.AbstractDao<VoiceOperAccount>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
protected int deleteImpl(int id) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
deleteImpl
in class ru.bitel.common.dao.AbstractDao<VoiceOperAccount>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException