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 PageTESTDeprecated.-
Fields inherited from class com.atlassian.confluence.it.AbstractPageEntity
space, title
-
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 StringgetAddChildPageUrl()Deprecated.ContentTypegetContentType()Deprecated.StringgetCopyPageUrl()Deprecated.StringgetEditPageTitle()Deprecated.StringgetEditUrl()Deprecated.StringgetPageHistoryUrl()Deprecated.StringgetPageInfoUrl()Deprecated.StringgetPagePermissionsUrl()Deprecated.StringgetPageSourceUrl()Deprecated.longgetParentPageId()Deprecated.StringgetUrl()Deprecated.UrlBuildergetViewAttachmentsUrl()Deprecated.StringgetViewPageTitle()Deprecated.StringtoString()Deprecated.-
Methods inherited from class com.atlassian.confluence.it.AbstractPageEntity
generateTitleSlug, getAddCommentUrl, getEditCommentUrl, getPageDiffUrl, getReplyCommentUrl, getSpace, getTitle, getUrlBuilder, setSpace, setTitle, shouldConvertToContent
-
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
-
getParentPageId
public long getParentPageId()
Deprecated.
-
getUrl
public String getUrl()
Deprecated.
-
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.
-
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.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentTypein interfaceContentEntity- Overrides:
getContentTypein classAbstractContentEntity- Returns:
- the ContentType of this entity
-
-