Class AbstractPageEntity

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

@Deprecated public abstract class AbstractPageEntity extends AbstractContentEntity implements LinkableContent
Deprecated.
Please use confluence-java-api module instead. See {com.atlassian.confluence.api.model.content.Content} alternative
Common parent of test Page and BlogPost classes.
Since:
4.2
  • Field Details

    • space

      protected Space space
      Deprecated.
    • title

      protected String title
      Deprecated.
  • Constructor Details

    • AbstractPageEntity

      public AbstractPageEntity()
      Deprecated.
    • AbstractPageEntity

      public AbstractPageEntity(Space space, String title)
      Deprecated.
    • AbstractPageEntity

      public AbstractPageEntity(AbstractPageEntity abstractPage)
      Deprecated.
  • Method Details

    • shouldConvertToContent

      public boolean shouldConvertToContent()
      Deprecated.
      Specified by:
      shouldConvertToContent in interface ContentConvertible
      Returns:
      true if the implementer wants to be part of the core API (default value), false otherwise
    • getUrlBuilder

      public UrlBuilder getUrlBuilder()
      Deprecated.
      Specified by:
      getUrlBuilder in interface LinkableContent
    • getPageDiffUrl

      public UrlBuilder getPageDiffUrl(int oldVersionNumber, int newVersionNumber)
      Deprecated.
    • getAddCommentUrl

      public UrlBuilder getAddCommentUrl()
      Deprecated.
    • getReplyCommentUrl

      public UrlBuilder getReplyCommentUrl(long commentId)
      Deprecated.
    • getEditCommentUrl

      public UrlBuilder getEditCommentUrl(long commentId)
      Deprecated.
    • setTitle

      public void setTitle(String title)
      Deprecated.
      Edit the title of this object. WARNING: changing this field will not update the system by itself, and operations that try to look up this page by the new title will fail until the system is actually updated.
      Parameters:
      title - the new title for the page.
    • getTitle

      public String getTitle()
      Deprecated.
      Specified by:
      getTitle in interface ContentEntity
      Specified by:
      getTitle in interface TitledContent
      Returns:
      the title of this entity
    • setSpace

      public void setSpace(Space space)
      Deprecated.
    • getSpace

      public Space getSpace()
      Deprecated.
      Specified by:
      getSpace in interface ContentEntity
      Returns:
      the space this content belongs to.
    • generateTitleSlug

      protected String generateTitleSlug(String title)
      Deprecated.