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
DaoException
boolean isNewsExist(int newsId) throws DaoException
DaoException
void addNews(News news) throws DaoException
DaoException
List<News> listNews(String newsGridId) throws DaoException
DaoException
void deleteAllNews(String newsGridId) throws DaoException
DaoException
boolean isNewsExistByNodeIds(String gridId, String nodeId, int nodeLocalId) throws DaoException
DaoException
void updateNewsByNodeIds(News news) throws DaoException
DaoException