com.atlassian.confluence.it.content
Class CommentBean

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

public class CommentBean
extends java.lang.Object

TODO: support threaded comments parsing


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

Method Detail

commentExists

@Deprecated
public static boolean commentExists(int index)
Deprecated. Since 5.2. Use newInstance(int) and commentExists()


newInstance

public static CommentBean newInstance(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.


newInstance

public static CommentBean newInstance(int index,
                                      net.sourceforge.jwebunit.junit.WebTester tester)

commentExists

public boolean commentExists()

focusedComment

public static CommentBean focusedComment()
Returns an instance of this class representing the focused comment on the current page.


focusedComment

public static CommentBean focusedComment(net.sourceforge.jwebunit.junit.WebTester tester)

getProfilePicSrc

public java.lang.String getProfilePicSrc()

getId

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

getContent

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

getUserFullName

public java.lang.String getUserFullName()

getDate

public java.lang.String getDate()

getDateTitle

public java.lang.String getDateTitle()

getPermalink

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


getUserlink

public java.lang.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-2014 Atlassian. All Rights Reserved.