public class MangoAccountDao extends ru.bitel.common.dao.AbstractDao<MangoAccount>
Constructor and Description |
---|
MangoAccountDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
MangoAccount |
getByAccountId(int accountId) |
MangoAccount |
getByContractId(int contractId) |
MangoAccount |
getByControl(java.lang.String control) |
protected MangoAccount |
getFromRS(java.sql.ResultSet rs) |
protected void |
updateImpl(MangoAccount mangoAccount) |
public MangoAccount getByContractId(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public MangoAccount getByAccountId(int accountId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public MangoAccount getByControl(java.lang.String control) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected MangoAccount getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<MangoAccount>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(MangoAccount mangoAccount) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<MangoAccount>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException