@Deprecated public abstract class AbstractContentEntity extends Object implements ContentEntity, VersionedContent, ContentConvertible
| Modifier and Type | Field and Description |
|---|---|
protected String |
content
Deprecated.
|
protected long |
id
Deprecated.
|
protected Date |
lastModificationDate
Deprecated.
|
protected User |
lastModifier
Deprecated.
|
protected int |
version
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContentEntity()
Deprecated.
|
protected |
AbstractContentEntity(AbstractContentEntity that)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Deprecated.
|
ContentId |
getContentId()
Deprecated.
|
ContentType |
getContentType()
Deprecated.
|
ContentType |
getContentTypeObject()
Deprecated.
|
long |
getId()
Deprecated.
|
String |
getIdAsString()
Deprecated.
|
Date |
getLastModificationDate()
Deprecated.
|
User |
getLastModifier()
Deprecated.
|
int |
getVersion()
Deprecated.
|
boolean |
isMinorEdit()
Deprecated.
|
void |
setContent(String content)
Deprecated.
|
void |
setId(ContentId id)
Deprecated.
|
void |
setId(long id)
Deprecated.
Set the id used for persistence of this entity.
|
void |
setLastModificationDate(Date lastModificationDate)
Deprecated.
|
void |
setLastModifier(User lastModifier)
Deprecated.
|
void |
setVersion(int version)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEditUrl, getSpace, getTitleshouldConvertToContentprotected Date lastModificationDate
protected User lastModifier
protected String content
protected long id
protected int version
protected AbstractContentEntity()
protected AbstractContentEntity(AbstractContentEntity that)
public Date getLastModificationDate()
getLastModificationDate in interface ContentEntitypublic void setLastModificationDate(Date lastModificationDate)
public User getLastModifier()
getLastModifier in interface ContentEntitypublic void setLastModifier(User lastModifier)
public String getContent()
getContent in interface ContentEntitypublic void setContent(String content)
public void setId(long id)
ContentEntitysetId in interface ContentEntitypublic long getId()
getId in interface ContentEntitypublic String getIdAsString()
public ContentId getContentId()
getContentId in interface ContentConvertiblepublic ContentType getContentType()
getContentType in interface ContentEntitypublic ContentType getContentTypeObject()
getContentTypeObject in interface ContentConvertiblepublic void setId(ContentId id)
public int getVersion()
getVersion in interface VersionedContentpublic void setVersion(int version)
setVersion in interface VersionedContentpublic boolean isMinorEdit()
isMinorEdit in interface VersionedContentCopyright © 2003–2016 Atlassian. All rights reserved.