public final class NewsManager extends ru.bitel.common.dao.AbstractIdDao<News>
Constructor and Description |
---|
NewsManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
int |
delete(int id) |
protected News |
getFromRS(java.sql.ResultSet rs) |
static java.util.List<News> |
getNewsList(Setup setup,
long groups) |
java.util.List<News> |
list(Page page) |
protected void |
updateImpl(News b) |
public int delete(int id) throws ru.bitel.bgbilling.common.BGException
delete
in class ru.bitel.common.dao.AbstractIdDao<News>
ru.bitel.bgbilling.common.BGException
protected void updateImpl(News b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<News>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<News> list(Page page) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException