Package net.bican.wordpress

Examples of net.bican.wordpress.Comment


    page.setDescription("deneme");
    String pg = WP.newPost(page, true);
    Integer commentid = WP.newComment(Integer.valueOf(pg), null,
        "deneme comment", "Can Bican", "http://a.b.c.com", "a@b.c.d");
    assertNotNull(commentid);
    Comment newComment = WP.getComment(commentid);
    assertEquals("deneme comment", newComment.getContent());
    Integer comment_id = newComment.getComment_id();
    WP.deleteComment(comment_id);
    comments = WP.getComments(null, null, null, null);
    Comment found = null;
    if (comments != null)
      for (Comment comment : comments) {
        if (comment.getComment_id().equals(comment_id)) {
          found = comment;
          break;
View Full Code Here

TOP

Related Classes of net.bican.wordpress.Comment

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.