public class RunTelContractTariffDao extends ru.bitel.common.dao.AbstractIdDao<RunTelContractTariff>
Constructor and Description |
---|
RunTelContractTariffDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
protected int |
deleteImpl(int id) |
RunTelContractTariff |
get(int contractId,
java.time.LocalDate date) |
protected RunTelContractTariff |
getFromRS(java.sql.ResultSet rs) |
java.time.LocalDate |
getOnDate(int contractId) |
java.util.List<RunTelContractTariff> |
getRunTelContractTariffs(int contractId,
Period period) |
java.util.List<RunTelContractTariff> |
getRunTelContractTariffs(java.time.LocalDate date) |
java.util.List<RunTelContractTariff> |
getRunTelContractTariffs(Period period) |
void |
updateDateTo(int contractTariffId,
java.time.LocalDate dateTo) |
protected void |
updateImpl(RunTelContractTariff runTelContractTariff) |
delete, get, getAndDelete, getAndUpdate
close, delete, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
public RunTelContractTariffDao(java.sql.Connection con, int moduleId)
public java.util.List<RunTelContractTariff> getRunTelContractTariffs(java.time.LocalDate date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<RunTelContractTariff> getRunTelContractTariffs(Period period) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<RunTelContractTariff> getRunTelContractTariffs(int contractId, Period period) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.time.LocalDate getOnDate(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public RunTelContractTariff get(int contractId, java.time.LocalDate date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected int deleteImpl(int id) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
deleteImpl
in class ru.bitel.common.dao.AbstractDao<RunTelContractTariff>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
protected RunTelContractTariff getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<RunTelContractTariff>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(RunTelContractTariff runTelContractTariff) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<RunTelContractTariff>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void updateDateTo(int contractTariffId, java.time.LocalDate dateTo) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.bgbilling.common.BGException
java.sql.SQLException