Class RecentlyUpdatedContentMacro
- java.lang.Object
-
- com.atlassian.renderer.v2.macro.BaseMacro
-
- com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentlyUpdatedContentMacro
-
- All Implemented Interfaces:
com.atlassian.renderer.v2.macro.Macro
public class RecentlyUpdatedContentMacro extends com.atlassian.renderer.v2.macro.BaseMacro
-
-
Field Summary
Fields Modifier and Type Field Description static String
MACRO_NAME
static int
UPDATES_MAX_SIZE
static int
UPDATES_MIN_SIZE
static int
UPDATES_STEP_SIZE
-
Constructor Summary
Constructors Constructor Description RecentlyUpdatedContentMacro(RecentlyUpdatedContentService recentlyUpdatedContentService, RecentlyUpdatedMacroTabProvider tabProvider, LabelManager labelManager, com.atlassian.event.api.EventPublisher eventPublisher, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, TemplateRenderer templateRenderer, LocaleManager localeManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(Map macroParamsUnchecked, String body, com.atlassian.renderer.RenderContext renderContext)
com.atlassian.renderer.v2.RenderMode
getBodyRenderMode()
boolean
hasBody()
-
-
-
Field Detail
-
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
-
UPDATES_STEP_SIZE
public static final int UPDATES_STEP_SIZE
- See Also:
- Constant Field Values
-
UPDATES_MAX_SIZE
public static final int UPDATES_MAX_SIZE
- See Also:
- Constant Field Values
-
UPDATES_MIN_SIZE
public static final int UPDATES_MIN_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RecentlyUpdatedContentMacro
public RecentlyUpdatedContentMacro(RecentlyUpdatedContentService recentlyUpdatedContentService, RecentlyUpdatedMacroTabProvider tabProvider, LabelManager labelManager, com.atlassian.event.api.EventPublisher eventPublisher, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, TemplateRenderer templateRenderer, LocaleManager localeManager, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
-
-
Method Detail
-
execute
public String execute(Map macroParamsUnchecked, String body, com.atlassian.renderer.RenderContext renderContext) throws com.atlassian.renderer.v2.macro.MacroException
- Throws:
com.atlassian.renderer.v2.macro.MacroException
-
hasBody
public boolean hasBody()
-
getBodyRenderMode
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
-
-