Examples of DisplayableBlog


Examples of evolaris.framework.blog.web.DisplayableBlog

    BlogManager blogMgr = new BlogManager(locale, session);
    Group group = getGroupParam(req);
    List<Blog> blogs = blogMgr.getBlogs(webUser, group);
    List<DisplayableBlog> entries = new ArrayList<DisplayableBlog>();
    for (Blog b : blogs) {
      DisplayableBlog e = new DisplayableBlog(b.getId(), b.getName(), b.getDescription());
      entries.add(e);
    }       
    req.setAttribute("entries", entries);   
    req.setAttribute("labelCloud", blogMgr.getLabelCloud(null, webUser, group, 20))// top 20 for sidebar
    return mapping.findForward("list");
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.