public class ContractTariffGroupDao extends ru.bitel.common.dao.AbstractIdDao<ContractTariffGroup>
Constructor and Description |
---|
ContractTariffGroupDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
protected int |
deleteImpl(int contractId) |
protected ContractTariffGroup |
getFromRS(java.sql.ResultSet rs) |
protected ContractTariffGroup |
getImpl(int contractId) |
java.util.List<ContractTariffGroup> |
list(int contractId,
java.util.Date date)
Получение списка всех подключенных тарифных групп для договора, если date==null, или только активных на указанную дату.
|
protected void |
updateImpl(ContractTariffGroup contractTariffGroup) |
delete, get, getAndDelete, getAndUpdate
public java.util.List<ContractTariffGroup> list(int contractId, java.util.Date date) throws ru.bitel.bgbilling.common.BGException
contractId
- date
- ru.bitel.bgbilling.common.BGException
protected ContractTariffGroup getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ContractTariffGroup>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(ContractTariffGroup contractTariffGroup) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ContractTariffGroup>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
protected int deleteImpl(int contractId) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
deleteImpl
in class ru.bitel.common.dao.AbstractDao<ContractTariffGroup>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
protected ContractTariffGroup getImpl(int contractId) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
getImpl
in class ru.bitel.common.dao.AbstractDao<ContractTariffGroup>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException