com.atlassian.confluence.pageobjects.page.content
Class CommentsSection

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.content.CommentsSection

public class CommentsSection
extends java.lang.Object

Represents the Comments Area at the bottom of a Confluence Page or Blog Post view.

See Also:
ViewPage

Nested Class Summary
static class CommentsSection.Comment
           
static class CommentsSection.NewComment
          Represents the editor for a new comment
 
Field Summary
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
 
Constructor Summary
CommentsSection()
           
 
Method Summary
 CommentsSection.NewComment add()
           
 CommentsSection.Comment get(int index)
           
 java.lang.String getTextContent()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
           
 int size()
          Deprecated. since 5.5, use timedSize(), which returns an TimedQuery instead.
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> timedSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
Constructor Detail

CommentsSection

public CommentsSection()
Method Detail

isVisible

public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()

size

@Deprecated
public int size()
Deprecated. since 5.5, use timedSize(), which returns an TimedQuery instead.

Returns:
an int, that represents how many comments currently exists. However that could be a wrong value if all comments are not currently loaded at the moment of the query.
Since:
5.5

timedSize

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> timedSize()
Returns:
a TimedQuery, that represents how many comments currently exists.

get

public CommentsSection.Comment get(int index)

add

public CommentsSection.NewComment add()

getTextContent

public java.lang.String getTextContent()


Copyright © 2003-2014 Atlassian. All Rights Reserved.