java.lang.Object | |
↳ | com.atlassian.confluence.search.v2.lucene.AbstractLuceneSearchResult |
Known Direct Subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the text content of the search result.
| |||||||||||
Returns the version of the content if available, or
null if there's no version for this result. | |||||||||||
Gets the title of the search result appropriate for displaying to a user.
| |||||||||||
Gets the labels on the current search result that are visible to the specified user.
| |||||||||||
Gets the last modification date of the entity represented by the search result.
| |||||||||||
Gets the username of the last person to modify the entity represented by the search result.
| |||||||||||
Gets some string describing the last modification to this content.
| |||||||||||
If this result represents an attachment then this field will return the title of the page or blog post the
attachment is attached to.
| |||||||||||
If this result represents an attachment then this field will return the type of the container, a page or
blogpost.
| |||||||||||
Gets all the personal labels on the current search result.
| |||||||||||
Gets a string representation of the type of the entity represented by the search result.
| |||||||||||
Gets the URL path to the search result, relative to the site's context root.
| |||||||||||
Checks if the search result represents the homepage of a space.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the value for the specified field name.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.search.v2.BaseSearchResult
| |||||||||||
From interface
com.atlassian.confluence.search.v2.SearchResult
|
Gets the text content of the search result.
Returns the version of the content if available, or null
if there's no version for this result.
Gets the title of the search result appropriate for displaying to a user. All results should return something useful for this method.
Gets the labels on the current search result that are visible to the specified user.
user | filter labels by this user |
---|
Gets the last modification date of the entity represented by the search result.
Gets the username of the last person to modify the entity represented by the search result.
Gets some string describing the last modification to this content. May be null if no such string is available. For content objects, this will be the same as the "version comment"
This string is user-supplied, and therefore not internationalised
If this result represents an attachment then this field will return the title of the page or blog post the attachment is attached to.
If this result represents an attachment then this field will return the type of the container, a page or blogpost.
Gets all the personal labels on the current search result.
Gets a string representation of the type of the entity represented by the search result. If the entity is a
content object, this is the value of getType()
Gets the URL path to the search result, relative to the site's context root. All results should return something useful for this method
Checks if the search result represents the homepage of a space.
Retrieves the value for the specified field name. If more than one field name is provided, it will attempt to retrieve a value for each field in order, returning as soon as a non-null value is encountered.
fieldNames | field name(s) to retrieve a value for |
---|