| java.lang.Object | |
| ↳ | com.atlassian.confluence.search.contentnames.ResultTemplate |
Class that allows clients to specify what categories of results to get back from any content name search. A default
configuration is available through DEFAULT. To produce a custom configuration, use
addCategory(Category, int) .
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DEFAULT | A default category configuration. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a category.
| |||||||||||
Returns the names of all categories defined in this configuration.
| |||||||||||
The maximum number of results for this category.
| |||||||||||
Returns the number of categories defined in this configuration.
| |||||||||||
Returns true if the specified category is defined, false otherwise.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Add a category.
| category | name of category |
|---|---|
| maxResultCount | the maximum number of results for the specified category |
Returns the names of all categories defined in this configuration.
The maximum number of results for this category. If the specified category is not defined, then 0 is returned.
| category | name of category |
|---|
Returns the number of categories defined in this configuration.
Returns true if the specified category is defined, false otherwise.
| category | name of category |
|---|