public class DealerDao extends ru.bitel.common.dao.AbstractDao<Dealer>
Constructor and Description |
---|
DealerDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
Dealer |
get(int id) |
protected Dealer |
getFromRS(java.sql.ResultSet rs) |
java.util.List<Dealer> |
list(int type) |
void |
update(Dealer dealer) |
protected void |
updateImpl(Dealer dealer) |
public void update(Dealer dealer) throws ru.bitel.bgbilling.common.BGException
update
in class ru.bitel.common.dao.AbstractDao<Dealer>
ru.bitel.bgbilling.common.BGException
protected Dealer getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<Dealer>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(Dealer dealer) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<Dealer>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<Dealer> list(int type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Dealer get(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException