Examples of countComments()


Examples of evolaris.framework.blog.business.BlogManager.countComments()

    BlogManager mgr = new BlogManager(locale, session);
    List<Blog> blogs = mgr.getBlogs(group);
    List<BlogListEntry> entries = new ArrayList<BlogListEntry>();
    if (blogs != null) {
      for (Blog b : blogs) {
        BlogListEntry e = new BlogListEntry(b, mgr.countAuthors(b, null, null), b.getArticles().size(), mgr.countComments(b, null, null));
        entries.add(e);
      }
    }
    req.setAttribute("blogs", entries);
    return mapping.findForward("list");
View Full Code Here

Examples of evolaris.framework.blog.business.BlogManager.countComments()

    }
    req.setAttribute("mayAddArticles", permissions.contains(PermissionManager.WRITE_PERMISSION));
    req.setAttribute("articleList", displayArticles);
    req.setAttribute("countArticles", displayArticles.size());
    req.setAttribute("countPosters", blogMgr.countAuthors(blog, from, to));
    req.setAttribute("countComments", blogMgr.countComments(blog, from, to));
    req.setAttribute("dateArchiveList", blogMgr.getArchives(blog));
    req.setAttribute("labelCloud", blogMgr.getLabelCloud(blog, webUser, null, 20));
   
    try {
      req.setAttribute("articleRssUrl", getBaseUrl(req)+"/viewBlog.do?method=rss&id="+blog.getId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.