Package com.atlassian.confluence.it
Class AbstractPageEntity
- java.lang.Object
-
- com.atlassian.confluence.it.AbstractContentEntity
-
- com.atlassian.confluence.it.AbstractPageEntity
-
- All Implemented Interfaces:
ContentEntity
,LinkableContent
,TitledContent
,VersionedContent
,ContentConvertible
@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} alternativeCommon parent of test Page and BlogPost classes.- Since:
- 4.2
-
-
Field Summary
Fields Modifier and Type Field Description protected Space
space
Deprecated.protected String
title
Deprecated.-
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
-
-
Constructor Summary
Constructors Constructor Description AbstractPageEntity()
Deprecated.AbstractPageEntity(AbstractPageEntity abstractPage)
Deprecated.AbstractPageEntity(Space space, String title)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UrlBuilder
getAddCommentUrl()
Deprecated.UrlBuilder
getEditCommentUrl(long commentId)
Deprecated.UrlBuilder
getPageDiffUrl(int oldVersionNumber, int newVersionNumber)
Deprecated.UrlBuilder
getReplyCommentUrl(long commentId)
Deprecated.Space
getSpace()
Deprecated.String
getTitle()
Deprecated.UrlBuilder
getUrlBuilder()
Deprecated.void
setSpace(Space space)
Deprecated.void
setTitle(String title)
Deprecated.Edit the title of this object.boolean
shouldConvertToContent()
Deprecated.-
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getContentId, getContentType, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getSelector, 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.ContentEntity
getEditUrl
-
Methods inherited from interface com.atlassian.confluence.it.LinkableContent
getUrl
-
-
-
-
Constructor Detail
-
AbstractPageEntity
public AbstractPageEntity()
Deprecated.
-
AbstractPageEntity
public AbstractPageEntity(AbstractPageEntity abstractPage)
Deprecated.
-
-
Method Detail
-
shouldConvertToContent
public boolean shouldConvertToContent()
Deprecated.- Specified by:
shouldConvertToContent
in interfaceContentConvertible
- 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 interfaceLinkableContent
-
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 interfaceContentEntity
- Specified by:
getTitle
in interfaceTitledContent
- Returns:
- the title of this entity
-
setSpace
public void setSpace(Space space)
Deprecated.
-
getSpace
public Space getSpace()
Deprecated.- Specified by:
getSpace
in interfaceContentEntity
- Returns:
- the space this content belongs to.
-
-