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 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.plugin.webresource.WebResourceManager webResourceManager)
           
 
Method Summary
 String execute(Map macroParamsUnchecked, 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 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.plugin.webresource.WebResourceManager webResourceManager)
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()


Copyright © 2003-2013 Atlassian. All Rights Reserved.