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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if this object belongs to the specified user.
| |||||||||||
Gets the path relative to Confluence's base URL to view the given attachment in the context of this content
(for example, highlighted in the content's list of attachments).
| |||||||||||
Returns the display title.
| |||||||||||
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.
| |||||||||||
Override this method so we don't call getFullName() everytime toString is called on the object!
|
[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
java.lang.Comparable
|
Returns true if this object belongs to the specified user.
user | the user to check |
---|
Gets the path relative to Confluence's base URL to view the given attachment in the context of this content
(for example, highlighted in the content's list of attachments). Generally you will want to call
getUrlPath()
instead of this method: if we ever implement
view pages for individual attachments, that's the method that will be changed to point to them.
The default implementation just returns the view page for this content.
attachment | one of this content's attachments |
---|
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.
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.Override this method so we don't call getFullName() everytime toString is called on the object!