com.atlassian.confluence.it
Class AbstractPageEntity

java.lang.Object
  extended by com.atlassian.confluence.it.AbstractContentEntity
      extended by com.atlassian.confluence.it.AbstractPageEntity
All Implemented Interfaces:
ContentEntity, LinkableContent, TitledContent, VersionedContent, ContentConvertible
Direct Known Subclasses:
BlogPost, Page

public abstract class AbstractPageEntity
extends AbstractContentEntity
implements LinkableContent

Common parent of test Page and BlogPost classes.

Since:
4.2

Field Summary
protected  Space space
           
 
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
 
Constructor Summary
AbstractPageEntity()
           
AbstractPageEntity(AbstractPageEntity abstractPage)
           
 
Method Summary
abstract  UrlBuilder getAddCommentUrl()
           
 UrlBuilder getPageDiffUrl(int oldVersionNumber, int newVersionNumber)
           
 UrlBuilder getUrlBuilder()
           
 void setSpace(Space space)
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getContentId, getContentType, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.it.LinkableContent
getUrl
 
Methods inherited from interface com.atlassian.confluence.it.TitledContent
getTitle
 
Methods inherited from interface com.atlassian.confluence.it.ContentEntity
getEditUrl, getSpace, getTitle
 
Methods inherited from interface com.atlassian.confluence.pages.ContentConvertible
shouldConvertToContent
 

Field Detail

space

protected Space space
Constructor Detail

AbstractPageEntity

public AbstractPageEntity()

AbstractPageEntity

public AbstractPageEntity(AbstractPageEntity abstractPage)
Method Detail

getPageDiffUrl

public UrlBuilder getPageDiffUrl(int oldVersionNumber,
                                 int newVersionNumber)

getUrlBuilder

public UrlBuilder getUrlBuilder()
Specified by:
getUrlBuilder in interface LinkableContent

getAddCommentUrl

public abstract UrlBuilder getAddCommentUrl()

setSpace

public void setSpace(Space space)


Copyright © 2003–2015 Atlassian. All rights reserved.