public class ContractLimitMovementDao extends ru.bitel.common.dao.AbstractIdDao<ContractLimitMovement>
Constructor and Description |
---|
ContractLimitMovementDao(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
protected ContractLimitMovement |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ContractLimitMovement> |
list(int contractId,
java.util.Date dateFrom,
java.util.Date dateTo)
Возвращает список движений лимита (contract_limit_manage).
|
protected void |
updateImpl(ContractLimitMovement b) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
public ContractLimitMovementDao(java.sql.Connection con)
protected ContractLimitMovement getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ContractLimitMovement>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public java.util.List<ContractLimitMovement> list(int contractId, java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException
LimitManager.getUserLimitMove(int, java.util.Calendar, java.util.Calendar)
фильтр по периоду не на пересечение, поэтому пока здесь также.contractId
- dateFrom
- dateTo
- ru.bitel.bgbilling.common.BGException
LimitManager}
,
LimitManager.getUserLimitMove(int, java.util.Calendar, java.util.Calendar)
,
LimitManager.getUserLimitMove(int, int, int)
protected void updateImpl(ContractLimitMovement b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ContractLimitMovement>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException