com.atlassian.confluence.it.content
Class CommentBean

java.lang.Object
  extended by com.atlassian.confluence.it.content.CommentBean

public class CommentBean
extends Object

TODO: support threaded comments parsing


Method Summary
 boolean canReply()
           
static boolean commentExists(net.sourceforge.jwebunit.junit.WebTester tester, int index)
           
 EditContentBean edit()
           
static CommentBean focusedComment(net.sourceforge.jwebunit.junit.WebTester tester)
          Returns an instance of this class representing the focused comment on the current page.
 String getContent()
           
 String getDate()
           
 String getDateTitle()
           
 String getId()
           
 String getPermalink()
          Returns the permalink id of the comment.
 String getProfilePicSrc()
           
 String getUserFullName()
           
 String getUserlink()
          Returns the user profile link of the comment.
 boolean isEditable()
           
 boolean isRemovable()
           
static CommentBean newInstance(net.sourceforge.jwebunit.junit.WebTester tester, int index)
          Returns an instance of this class representing the comment on the page with the given index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

commentExists

public static boolean commentExists(net.sourceforge.jwebunit.junit.WebTester tester,
                                    int index)

newInstance

public static CommentBean newInstance(net.sourceforge.jwebunit.junit.WebTester tester,
                                      int index)
Returns an instance of this class representing the comment on the page with the given index. The index is zero-based, so index zero is the first comment on the page.


focusedComment

public static CommentBean focusedComment(net.sourceforge.jwebunit.junit.WebTester tester)
Returns an instance of this class representing the focused comment on the current page.


getProfilePicSrc

public String getProfilePicSrc()

getId

public String getId()
Returns:
the ID of this comment

getContent

public String getContent()
Returns:
the content of this comment

getUserFullName

public String getUserFullName()

getDate

public String getDate()

getDateTitle

public String getDateTitle()

getPermalink

public String getPermalink()
Returns the permalink id of the comment.


getUserlink

public String getUserlink()
Returns the user profile link of the comment.


isEditable

public boolean isEditable()

canReply

public boolean canReply()

isRemovable

public boolean isRemovable()

edit

public EditContentBean edit()


Copyright © 2003-2012 Atlassian. All Rights Reserved.