public class ContactTypeDao extends ru.bitel.common.dao.AbstractIdDao<ContactType>
DispatchService
.Constructor and Description |
---|
ContactTypeDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
ContactType |
get(int id)
Возвращает тип контакта по указанному коду
|
protected ContactType |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ContactType> |
getList()
Возвращает список типов контактов
|
protected void |
updateImpl(ContactType b) |
protected void updateImpl(ContactType b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ContactType>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
protected ContactType getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ContactType>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public ContactType get(int id) throws ru.bitel.bgbilling.common.BGException
get
in class ru.bitel.common.dao.AbstractIdDao<ContactType>
ru.bitel.bgbilling.common.BGException
public java.util.List<ContactType> getList() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException