Package com.tubeonfire.entity

Examples of com.tubeonfire.entity.TubeComment


      Tube detail = TubeService.searchById(id);
      List<TubeComment> comments = new ArrayList<TubeComment>();
      if (detail != null) {
        if (detail.getComments() != null) {
          for (Text cmtText : detail.getComments()) {
            TubeComment tubeComment = new TubeComment();
            tubeComment.transformText(cmtText.getValue());
            comments.add(tubeComment);
          }
        }
        request.setAttribute("detail", detail);
        request.setAttribute("url", request.getRequestURL());
View Full Code Here

TOP

Related Classes of com.tubeonfire.entity.TubeComment

Copyright © 2018 www.massapicom. 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.