java.lang.Object | |||||
↳ | com.atlassian.core.bean.EntityObject | ||||
↳ | com.atlassian.confluence.core.ConfluenceEntityObject | ||||
↳ | com.atlassian.confluence.core.AbstractVersionedEntityObject | ||||
↳ | com.atlassian.confluence.core.ContentEntityObject | ||||
↳ | com.atlassian.confluence.pages.Draft |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONTENT_TYPE | ||||||||||
String | NEW | The content ID of a new piece of content, as a String. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Subclasses should implement this method, giving a String back so
that the content can be alphabetically sorted in a mixed-type list
of content-entities.
| |||||||||||
An easy name for the type of this content: makes it easy for
things like the #contentLink macro to work out what to draw.
| |||||||||||
Content entity objects that are historical versions should not be indexed.
| |||||||||||
Returns true if the draft is for a new piece of content, otherwise false.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
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.core.Addressable
| |||||||||||
From interface
com.atlassian.confluence.core.ContentTypeAware
| |||||||||||
From interface
com.atlassian.confluence.core.Versioned
| |||||||||||
From interface
com.atlassian.confluence.labels.Labelable
| |||||||||||
From interface
java.lang.Comparable
|
The content ID of a new piece of content, as a String.
Subclasses should implement this method, giving a String back so that the content can be alphabetically sorted in a mixed-type list of content-entities.
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.Content entity objects that are historical versions should not be indexed.
Returns true if the draft is for a new piece of content, otherwise false.