Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_TYPE |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Remove all data from the object that does not need to be saved by historical versions.
| |||||||||||
Returns the display title.
| |||||||||||
Since the ContentEntityObject falls back on ordering by creation date, comments
should always end up being sorted in their order of posting, below the page they
were created in.
| |||||||||||
This method is deprecated.
since 4.0. Please use
getOwner() instead.
| |||||||||||
convenience method for lucene to retrieve the key of the space this comment belongs to
| |||||||||||
An easy name for the type of this content: makes it easy for
things like the #contentLink macro to work out what to draw.
| |||||||||||
This method is deprecated.
Since 3.3 Use
setOwner(com.atlassian.confluence.core.ContentEntityObject)
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractLabelableEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.ConfluenceEntityObject
| |||||||||||
From class
com.atlassian.core.bean.EntityObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bonnie.Searchable
| |||||||||||
From interface
com.atlassian.confluence.content.Content
| |||||||||||
From interface
com.atlassian.confluence.core.Addressable
| |||||||||||
From interface
com.atlassian.confluence.core.ContentTypeAware
| |||||||||||
From interface
com.atlassian.confluence.core.HasLinkWikiMarkup
| |||||||||||
From interface
com.atlassian.confluence.core.Versioned
| |||||||||||
From interface
com.atlassian.confluence.labels.EditableLabelable
| |||||||||||
From interface
com.atlassian.confluence.labels.Labelable
| |||||||||||
From interface
com.atlassian.confluence.spaces.Spaced
| |||||||||||
From interface
java.lang.Comparable
|
Remove all data from the object that does not need to be saved by historical versions. For versioned objects that are persisted, this includes removing associations with other persisted objects that may otherwise cause us to break the expected arity of the database relations.
When using Hibernate to persist versioned objects, take special care to null any field that might contain a Hibernate-persisted collection, as Hibernate does not allow two different persistent objects to refer to the same persisted collection at the same time.
Returns the display title. Some entities don't have titles for identification. For example, personal information objects use the user's fullname. Override this method to provide a custom title.
Since the ContentEntityObject falls back on ordering by creation date, comments should always end up being sorted in their order of posting, below the page they were created in. Nifty, eh.
convenience method for lucene to retrieve the key of the space this comment belongs to
An easy name for the type of this content: makes it easy for things like the #contentLink macro to work out what to draw.
This is a bit of a hack, but it saves heaps of code elsewhere, especially since we tend to get back these objects wrapped in all sorts of Hibernate CGLIB stuff.
This method is deprecated.
Since 3.3 Use setOwner(com.atlassian.confluence.core.ContentEntityObject)