public class InetAccountingPeriodDao extends ru.bitel.common.dao.AbstractIdDao<InetAccountingPeriod>
| Constructor and Description |
|---|
InetAccountingPeriodDao(java.sql.Connection con,
int moduleId)
Deprecated.
|
InetAccountingPeriodDao(java.sql.Connection con,
int moduleId,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteForContract(int contractId) |
protected InetAccountingPeriod |
getFromRS(java.sql.ResultSet rs) |
java.util.List<InetAccountingPeriod> |
list(int contractId) |
java.util.List<InetAccountingPeriod> |
list(int contractId,
java.util.Date dateFrom) |
java.util.List<InetAccountingPeriod> |
list(int contractId,
java.util.Date dateFrom,
boolean lockInShareMode) |
void |
recycle() |
protected void |
updateImpl(InetAccountingPeriod b) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, setStatementParam, update@Deprecated
public InetAccountingPeriodDao(java.sql.Connection con,
int moduleId)
public InetAccountingPeriodDao(java.sql.Connection con,
int moduleId,
int userId)
protected InetAccountingPeriod getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<InetAccountingPeriod>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(InetAccountingPeriod b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<InetAccountingPeriod>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic java.util.List<InetAccountingPeriod> list(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetAccountingPeriod> list(int contractId, java.util.Date dateFrom, boolean lockInShareMode) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetAccountingPeriod> list(int contractId, java.util.Date dateFrom) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void deleteForContract(int contractId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void recycle()
throws ru.bitel.bgbilling.common.BGException
recycle in class ru.bitel.common.dao.AbstractDao<InetAccountingPeriod>ru.bitel.bgbilling.common.BGException