com.atlassian.confluence.plugins.macros.dashboard.recentupdates
Class RecentlyUpdatedContentMacro

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.BaseMacro
      extended by 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
static java.lang.String MACRO_NAME
           
static int UPDATES_MAX_SIZE
           
static int UPDATES_MIN_SIZE
           
static int UPDATES_STEP_SIZE
           
 
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro
RAW_PARAMS_KEY
 
Constructor Summary
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
 java.lang.String execute(java.util.Map macroParamsUnchecked, java.lang.String body, com.atlassian.renderer.RenderContext renderContext)
           
 com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
           
 boolean hasBody()
           
 
Methods inherited from class com.atlassian.renderer.v2.macro.BaseMacro
getTokenType, getWysiwygBodyType, isInline, suppressMacroRenderingDuringWysiwyg, suppressSurroundingTagDuringWysiwygRendering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MACRO_NAME

public static final java.lang.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 java.lang.String execute(java.util.Map macroParamsUnchecked,
                                java.lang.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()


Copyright © 2003-2014 Atlassian. All Rights Reserved.