public class ContractTariffOptionDao extends ru.bitel.common.dao.AbstractIdDao<ContractTariffOption>
| Constructor and Description |
|---|
ContractTariffOptionDao(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
static ContractTariffOptionList |
getContractRealtimeTariffOptionList(java.sql.Connection con,
int contractId,
java.util.Date fromTime)
Из даты time_to вычитается одна миллисекунда.
|
ContractTariffOptionList |
getContractRealtimeTariffOptionList(int contractId,
java.util.Date fromTime)
Из даты time_to вычитается одна миллисекунда.
|
protected ContractTariffOption |
getFromRS(java.sql.ResultSet rs) |
static ContractTariffOptionList |
getRoundContractRealtimeTariffOptionList(java.sql.Connection con,
int contractId,
java.util.Date fromTime)
Вовзращает оции , у которых time_from округлено до начала часа .
|
ContractTariffOptionList |
getRoundContractRealtimeTariffOptionList(int contractId,
java.util.Date fromTime)
Вовзращает оции , у которых time_from округлено до начала часа .
|
java.util.List<ContractTariffOption> |
list(int contractId,
java.util.Date date) |
java.util.List<ContractTariffOption> |
list(int contractId,
java.util.Date date,
boolean history,
boolean needNonActive) |
void |
update(ContractTariffOption b) |
void |
update(ContractTariffOption b,
boolean checkDeactivated) |
protected void |
updateImpl(ContractTariffOption contractOption) |
protected void |
updateImpl(ContractTariffOption contractOption,
boolean checkDeactivated) |
delete, get, getAndDelete, getAndUpdatepublic java.util.List<ContractTariffOption> list(int contractId, java.util.Date date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<ContractTariffOption> list(int contractId, java.util.Date date, boolean history, boolean needNonActive) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic ContractTariffOptionList getContractRealtimeTariffOptionList(int contractId, java.util.Date fromTime) throws java.sql.SQLException
contractId - fromTime - java.sql.SQLExceptionpublic static ContractTariffOptionList getContractRealtimeTariffOptionList(java.sql.Connection con, int contractId, java.util.Date fromTime) throws java.sql.SQLException
con - contractId - fromTime - java.sql.SQLExceptionpublic ContractTariffOptionList getRoundContractRealtimeTariffOptionList(int contractId, java.util.Date fromTime) throws java.sql.SQLException
contractId - fromTime - java.sql.SQLExceptionpublic static ContractTariffOptionList getRoundContractRealtimeTariffOptionList(java.sql.Connection con, int contractId, java.util.Date fromTime) throws java.sql.SQLException
con - contractId - fromTime - java.sql.SQLExceptionprotected ContractTariffOption getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS in class ru.bitel.common.dao.AbstractDao<ContractTariffOption>java.sql.SQLExceptionpublic void update(ContractTariffOption b) throws ru.bitel.bgbilling.common.BGException
update in class ru.bitel.common.dao.AbstractDao<ContractTariffOption>ru.bitel.bgbilling.common.BGExceptionpublic void update(ContractTariffOption b, boolean checkDeactivated) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ContractTariffOption contractOption) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<ContractTariffOption>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionprotected void updateImpl(ContractTariffOption contractOption, boolean checkDeactivated) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLException