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, getAndUpdate
close, 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.SQLException
ru.bitel.bgbilling.common.BGException
protected 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.BGException
java.sql.SQLException
public java.util.List<InetAccountingPeriod> list(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetAccountingPeriod> list(int contractId, java.util.Date dateFrom, boolean lockInShareMode) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetAccountingPeriod> list(int contractId, java.util.Date dateFrom) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteForContract(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void recycle() throws ru.bitel.bgbilling.common.BGException
recycle
in class ru.bitel.common.dao.AbstractDao<InetAccountingPeriod>
ru.bitel.bgbilling.common.BGException