Package com.atlassian.confluence.it
Class AbstractContentEntity
- java.lang.Object
-
- com.atlassian.confluence.it.AbstractContentEntity
-
- All Implemented Interfaces:
ContentEntity,VersionedContent,ContentConvertible
- Direct Known Subclasses:
AbstractPageEntity,Comment,Draft,UserInformation
@Deprecated public abstract class AbstractContentEntity extends Object implements ContentEntity, VersionedContent, ContentConvertible
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 protected StringcontentDeprecated.protected longidDeprecated.protected DatelastModificationDateDeprecated.protected UserlastModifierDeprecated.protected intversionDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractContentEntity()Deprecated.protectedAbstractContentEntity(AbstractContentEntity that)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetContent()Deprecated.ContentIdgetContentId()Deprecated.ContentTypegetContentType()Deprecated.ContentTypegetContentTypeObject()Deprecated.longgetId()Deprecated.StringgetIdAsString()Deprecated.DategetLastModificationDate()Deprecated.UsergetLastModifier()Deprecated.ContentSelectorgetSelector()Deprecated.intgetVersion()Deprecated.booleanisMinorEdit()Deprecated.voidsetContent(String content)Deprecated.voidsetId(long id)Deprecated.Set the id used for persistence of this entity.voidsetId(ContentId id)Deprecated.voidsetLastModificationDate(Date lastModificationDate)Deprecated.voidsetLastModifier(User lastModifier)Deprecated.voidsetVersion(int version)Deprecated.-
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.pages.ContentConvertible
shouldConvertToContent
-
Methods inherited from interface com.atlassian.confluence.it.ContentEntity
getEditUrl, getSpace, getTitle
-
-
-
-
Constructor Detail
-
AbstractContentEntity
protected AbstractContentEntity()
Deprecated.
-
AbstractContentEntity
protected AbstractContentEntity(AbstractContentEntity that)
Deprecated.
-
-
Method Detail
-
getLastModificationDate
public Date getLastModificationDate()
Deprecated.- Specified by:
getLastModificationDatein interfaceContentEntity
-
setLastModificationDate
public void setLastModificationDate(Date lastModificationDate)
Deprecated.
-
getLastModifier
public User getLastModifier()
Deprecated.- Specified by:
getLastModifierin interfaceContentEntity- Returns:
- the last modifier
-
setLastModifier
public void setLastModifier(User lastModifier)
Deprecated.
-
getContent
public String getContent()
Deprecated.- Specified by:
getContentin interfaceContentEntity- Returns:
- the content of this entity.
-
setContent
public void setContent(String content)
Deprecated.
-
setId
public void setId(long id)
Deprecated.Description copied from interface:ContentEntitySet the id used for persistence of this entity.- Specified by:
setIdin interfaceContentEntity
-
getId
public long getId()
Deprecated.- Specified by:
getIdin interfaceContentEntity- Returns:
- the id used for persistence of this entity.
-
getIdAsString
public String getIdAsString()
Deprecated.
-
getContentId
public ContentId getContentId()
Deprecated.- Specified by:
getContentIdin interfaceContentConvertible- Returns:
- the ContentId identifying this Content-convertible entity.
-
getSelector
public ContentSelector getSelector()
Deprecated.- Specified by:
getSelectorin interfaceContentConvertible- Returns:
- the ContentSelector identifying this Content-convertible entity.
-
getContentType
public ContentType getContentType()
Deprecated.- Specified by:
getContentTypein interfaceContentEntity- Returns:
- the ContentType of this entity
-
getContentTypeObject
public ContentType getContentTypeObject()
Deprecated.- Specified by:
getContentTypeObjectin interfaceContentConvertible- Returns:
- the api ContentType that this ContentConvertible converts to
-
setId
public void setId(ContentId id)
Deprecated.
-
getVersion
public int getVersion()
Deprecated.- Specified by:
getVersionin interfaceVersionedContent
-
setVersion
public void setVersion(int version)
Deprecated.- Specified by:
setVersionin interfaceVersionedContent
-
isMinorEdit
public boolean isMinorEdit()
Deprecated.- Specified by:
isMinorEditin interfaceVersionedContent- Returns:
- true if this entity at this current version is a minor edit. Currently, only attachments persist this property, and so will return false for all entities other than attachments.
-
-