java.lang.Object
com.semanticcms.news.servlet.NewsUtils
Utilities for working with news.
-
Method Summary
Modifier and TypeMethodDescriptionfindAllNews
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) Gets all the new items in the given page and below, sorted by news natural order.
-
Method Details
-
findAllNews
public static List<News> findAllNews(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) throws ServletException, IOException Gets all the new items in the given page and below, sorted by news natural order.- Throws:
ServletException
IOException
- See Also:
-