public interface NewsDao
| Modifier and Type | Method and Description |
|---|---|
void |
addNews(News news) |
void |
clear() |
void |
deleteAllNews(String newsGridId) |
boolean |
isNewsExist(int newsId) |
boolean |
isNewsExistByNodeIds(String gridId,
String nodeId,
int nodeLocalId) |
List<News> |
listNews(String newsGridId) |
void |
updateNewsByNodeIds(News news) |
void clear()
throws DaoException
DaoExceptionboolean isNewsExist(int newsId)
throws DaoException
DaoExceptionvoid addNews(News news) throws DaoException
DaoExceptionList<News> listNews(String newsGridId) throws DaoException
DaoExceptionvoid deleteAllNews(String newsGridId) throws DaoException
DaoExceptionboolean isNewsExistByNodeIds(String gridId, String nodeId, int nodeLocalId) throws DaoException
DaoExceptionvoid updateNewsByNodeIds(News news) throws DaoException
DaoException