Field Summary
Fields
protected long
protected int
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods
long
int
boolean
void
void
Deprecated.
Set the id used for persistence of this entity.
void
void
void
void
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
lastModificationDate
protected Date lastModificationDate
Deprecated.
lastModifier
protected User lastModifier
Deprecated.
id
protected long id
Deprecated.
version
protected int version
Deprecated.
Constructor Details
AbstractContentEntity
protected AbstractContentEntity ()
Deprecated.
AbstractContentEntity
Deprecated.
Method Details
setLastModificationDate
public void setLastModificationDate (Date lastModificationDate)
Deprecated.
setLastModifier
public void setLastModifier (User lastModifier)
Deprecated.
getContent
Deprecated.
Specified by:
getContent in interface ContentEntity
Returns:
the content of this entity.
setContent
public void setContent (String content)
Deprecated.
setId
public void setId (long id)
Deprecated.
Set the id used for persistence of this entity.
Specified by:
setId in interface ContentEntity
getId
public long getId ()
Deprecated.
Specified by:
getId in interface ContentEntity
Returns:
the id used for persistence of this entity.
getIdAsString
Deprecated.
getContentId
Deprecated.
Specified by:
getContentId in interface ContentConvertible
Returns:
the ContentId identifying this Content-convertible entity.
getSelector
Deprecated.
Specified by:
getSelector in interface ContentConvertible
Returns:
the ContentSelector identifying this Content-convertible entity.
getContentType
Deprecated.
Specified by:
getContentType in interface ContentEntity
Returns:
the ContentType of this entity
getContentTypeObject
Deprecated.
Specified by:
getContentTypeObject in interface ContentConvertible
Returns:
the api ContentType that this ContentConvertible converts to
isMinorEdit
public boolean isMinorEdit ()
Deprecated.
Specified by:
isMinorEdit in interface VersionedContent
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.