public class ContractNotificationDao extends ru.bitel.common.dao.AbstractIdDao<ContractNotification>
| Constructor and Description |
|---|
ContractNotificationDao(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
protected ContractNotification |
getFromRS(java.sql.ResultSet rs) |
int |
getUnreadNotificationsCount(int cid) |
java.util.List<ContractNotification> |
list(int cid) |
boolean |
markReadNotification(int contractId,
int id) |
protected void |
updateImpl(ContractNotification notice) |
delete, get, getAndDelete, getAndUpdateclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updatepublic java.util.List<ContractNotification> list(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic int getUnreadNotificationsCount(int cid)
protected ContractNotification getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<ContractNotification>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(ContractNotification notice) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<ContractNotification>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic boolean markReadNotification(int contractId,
int id)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException