Package com.atlassian.confluence.it
Class Page
- java.lang.Object
-
- com.atlassian.confluence.it.AbstractContentEntity
-
- com.atlassian.confluence.it.AbstractPageEntity
-
- com.atlassian.confluence.it.Page
-
- All Implemented Interfaces:
ContentEntity
,LinkableContent
,TitledContent
,VersionedContent
,ContentConvertible
@Deprecated public class Page extends AbstractPageEntity
Deprecated.Please use confluence-java-api module instead. See {com.atlassian.confluence.api.model.content.Content} alternative
-
-
Field Summary
Fields Modifier and Type Field Description static Page
TEST
Deprecated.-
Fields inherited from class com.atlassian.confluence.it.AbstractPageEntity
space
-
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
-
-
Constructor Summary
Constructors Constructor Description Page(long id)
Deprecated.Page(long id, String title, String content)
Deprecated.Create a page when the space is not known.Page(Page page)
Deprecated.Page(Space space, String title, String content)
Deprecated.Page(Space space, String title, String content, long parentPageId)
Deprecated.Page(String title, String content, Page parentPage)
Deprecated.Page(Map createPageMap)
Deprecated.Creates a page object from the map returned from ConfluenceRpc.createPage() Note this creates a page with an unknown space
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAddChildPageUrl()
Deprecated.UrlBuilder
getAddCommentUrl()
Deprecated.ContentType
getContentType()
Deprecated.String
getCopyPageUrl()
Deprecated.UrlBuilder
getEditCommentUrl(long commentId)
Deprecated.Since 5.8String
getEditPageTitle()
Deprecated.String
getEditUrl()
Deprecated.String
getPageHistoryUrl()
Deprecated.String
getPageInfoUrl()
Deprecated.String
getPagePermissionsUrl()
Deprecated.String
getPageSourceUrl()
Deprecated.long
getParentPageId()
Deprecated.UrlBuilder
getReplyCommentUrl(long commentId)
Deprecated.Since 5.8Space
getSpace()
Deprecated.String
getTitle()
Deprecated.String
getUrl()
Deprecated.UrlBuilder
getViewAttachmentsUrl()
Deprecated.String
getViewPageTitle()
Deprecated.void
setTitle(String title)
Deprecated.Edit the title of this object.boolean
shouldConvertToContent()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class com.atlassian.confluence.it.AbstractPageEntity
getPageDiffUrl, getUrlBuilder, setSpace
-
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
-
-
-
-
Field Detail
-
TEST
public static Page TEST
Deprecated.
-
-
Constructor Detail
-
Page
public Page(long id)
Deprecated.
-
Page
public Page(Map createPageMap)
Deprecated.Creates a page object from the map returned from ConfluenceRpc.createPage() Note this creates a page with an unknown space- Parameters:
createPageMap
-
-
Page
public Page(long id, String title, String content)
Deprecated.Create a page when the space is not known. Be warned that some methods on this page may fail.
-
Page
public Page(Page page)
Deprecated.
-
-
Method Detail
-
getSpace
public Space getSpace()
Deprecated.- Returns:
- the space this content belongs to.
-
getParentPageId
public long getParentPageId()
Deprecated.
-
getUrl
public String getUrl()
Deprecated.
-
getTitle
public String getTitle()
Deprecated.- Returns:
- the title of this entity
-
getViewPageTitle
public String getViewPageTitle()
Deprecated.
-
getEditPageTitle
public String getEditPageTitle()
Deprecated.
-
getEditUrl
public String getEditUrl()
Deprecated.- Returns:
- the url where this entity can be edited.
-
getPageInfoUrl
public String getPageInfoUrl()
Deprecated.
-
getPageSourceUrl
public String getPageSourceUrl()
Deprecated.
-
getAddCommentUrl
public UrlBuilder getAddCommentUrl()
Deprecated.- Specified by:
getAddCommentUrl
in classAbstractPageEntity
-
getReplyCommentUrl
public UrlBuilder getReplyCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getReplyCommentUrl
in classAbstractPageEntity
- Returns:
-
getEditCommentUrl
public UrlBuilder getEditCommentUrl(long commentId)
Deprecated.Since 5.8- Specified by:
getEditCommentUrl
in classAbstractPageEntity
- Returns:
-
getAddChildPageUrl
public String getAddChildPageUrl()
Deprecated.
-
getViewAttachmentsUrl
public UrlBuilder getViewAttachmentsUrl()
Deprecated.
-
getPageHistoryUrl
public String getPageHistoryUrl()
Deprecated.
-
getCopyPageUrl
public String getCopyPageUrl()
Deprecated.
-
getPagePermissionsUrl
public String getPagePermissionsUrl()
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.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentType
in interfaceContentEntity
- Overrides:
getContentType
in classAbstractContentEntity
- Returns:
- the ContentType of this entity
-
shouldConvertToContent
public boolean shouldConvertToContent()
Deprecated.- Returns:
- true if the implementer wants to be part of the core API (default value), false otherwise
-
-