| java.lang.Object | ||
| ↳ | com.atlassian.renderer.v2.macro.BaseMacro | |
| ↳ | com.atlassian.confluence.macro.ContentFilteringMacro | |
Known Direct Subclasses
|
Convenience class that provides default values for macros which retrieve content from somewhere else in Confluence.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DEFAULT_MAX_RESULTS | Default value for a maxResults parameter. |
|||||||||
| String | DEFAULT_SPACE_KEY | Default value for a spaceKey parameter. |
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.renderer.v2.macro.Macro
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| authorParam | Parameter to handle the creator/author of the content. | ||||||||||
| contentTypeParam | Parameter to handle content type filtering. | ||||||||||
| labelParam | Parameter to handle label filtering. | ||||||||||
| maxResultsParam | Parameter to handle the maximum number of results. | ||||||||||
| searchManager | SearchManager instance for handling queries based on
parameter values. |
||||||||||
| sortParam | Parameter that describes the type of sort to perform on the content. | ||||||||||
| spaceKeyParam | Parameter to handle space key filtering. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This implementation is final to ensure that subclasses are provided with a valid
MacroExecutionContext. | |||||||||||
Injector for
SearchManager. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Subclasses must override macro-specific functionality in this method.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.renderer.v2.macro.BaseMacro
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.renderer.v2.macro.Macro
| |||||||||||
Default value for a maxResults parameter.
Default value for a spaceKey parameter.
Parameter to handle the maximum number of results.
SearchManager instance for handling queries based on
parameter values.
Parameter that describes the type of sort to perform on the content.
This implementation is final to ensure that subclasses are provided with a valid
MacroExecutionContext.
| params | the macro parameters |
|---|---|
| body | the macro body |
| renderContext | the RenderContext provided to the macro |
| MacroException | if the macro fails to execute |
|---|
Injector for SearchManager.
| searchManager | the SearchManager to inject
|
|---|
Subclasses must override macro-specific functionality in this method.
| ctx | the MacroExecutionContext for this invocation |
|---|
| MacroException | if the macro fails to execute |
|---|