@Deprecated public class Page extends AbstractPageEntity
Modifier and Type | Field and Description |
---|---|
static Page |
TEST
Deprecated.
|
space
content, id, lastModificationDate, lastModifier, version
Constructor and Description |
---|
Page(long id)
Deprecated.
|
Page(long id,
String title,
String content)
Deprecated.
Create a page when the space is not known.
|
Page(Map createPageMap)
Deprecated.
Creates a page object from the map returned from ConfluenceRpc.createPage()
Note this creates a page with an unknown space
|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddChildPageUrl()
Deprecated.
|
UrlBuilder |
getAddCommentUrl()
Deprecated.
|
ContentType |
getContentType()
Deprecated.
|
String |
getCopyPageUrl()
Deprecated.
|
UrlBuilder |
getEditCommentUrl(long commentId)
Deprecated.
Since 5.8
|
String |
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.8
|
Space |
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.
|
getPageDiffUrl, getUrlBuilder, setSpace
getContent, getContentId, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
public static Page TEST
public Page(long id)
public Page(Map createPageMap)
createPageMap
- public Page(long id, String title, String content)
public Page(Page page)
public Space getSpace()
public long getParentPageId()
public String getUrl()
public String getTitle()
public String getViewPageTitle()
public String getEditPageTitle()
public String getEditUrl()
public String getPageInfoUrl()
public String getPageSourceUrl()
public UrlBuilder getAddCommentUrl()
getAddCommentUrl
in class AbstractPageEntity
public UrlBuilder getReplyCommentUrl(long commentId)
getReplyCommentUrl
in class AbstractPageEntity
public UrlBuilder getEditCommentUrl(long commentId)
getEditCommentUrl
in class AbstractPageEntity
public String getAddChildPageUrl()
public UrlBuilder getViewAttachmentsUrl()
public String getPageHistoryUrl()
public String getCopyPageUrl()
public String getPagePermissionsUrl()
public void setTitle(String title)
title
- the new title for the page.public ContentType getContentType()
getContentType
in interface ContentEntity
getContentType
in class AbstractContentEntity
public boolean shouldConvertToContent()
Copyright © 2003–2018 Atlassian. All rights reserved.