@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.
|
ContentSelector |
getSelector()
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, wait
getEditUrl, getSpace, getTitle
shouldConvertToContent
protected 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 ContentEntity
public void setLastModificationDate(Date lastModificationDate)
public User getLastModifier()
getLastModifier
in interface ContentEntity
public void setLastModifier(User lastModifier)
public String getContent()
getContent
in interface ContentEntity
public void setContent(String content)
public void setId(long id)
ContentEntity
setId
in interface ContentEntity
public long getId()
getId
in interface ContentEntity
public String getIdAsString()
public ContentId getContentId()
getContentId
in interface ContentConvertible
public ContentSelector getSelector()
getSelector
in interface ContentConvertible
public ContentType getContentType()
getContentType
in interface ContentEntity
public ContentType getContentTypeObject()
getContentTypeObject
in interface ContentConvertible
public void setId(ContentId id)
public int getVersion()
getVersion
in interface VersionedContent
public void setVersion(int version)
setVersion
in interface VersionedContent
public boolean isMinorEdit()
isMinorEdit
in interface VersionedContent
Copyright © 2003–2017 Atlassian. All rights reserved.