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 SpacespaceDeprecated.protected StringtitleDeprecated.-
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 UrlBuildergetAddCommentUrl()Deprecated.UrlBuildergetEditCommentUrl(long commentId)Deprecated.UrlBuildergetPageDiffUrl(int oldVersionNumber, int newVersionNumber)Deprecated.UrlBuildergetReplyCommentUrl(long commentId)Deprecated.SpacegetSpace()Deprecated.StringgetTitle()Deprecated.UrlBuildergetUrlBuilder()Deprecated.voidsetSpace(Space space)Deprecated.voidsetTitle(String title)Deprecated.Edit the title of this object.booleanshouldConvertToContent()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:
shouldConvertToContentin 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:
getUrlBuilderin 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:
getTitlein interfaceContentEntity- Specified by:
getTitlein interfaceTitledContent- Returns:
- the title of this entity
-
setSpace
public void setSpace(Space space)
Deprecated.
-
getSpace
public Space getSpace()
Deprecated.- Specified by:
getSpacein interfaceContentEntity- Returns:
- the space this content belongs to.
-
-