com.atlassian.confluence.plugins.macros.dashboard
Class RecentlyUpdatedContentMacro
java.lang.Object
com.atlassian.renderer.v2.macro.BaseMacro
com.atlassian.confluence.macro.ContentFilteringMacro
com.atlassian.confluence.plugins.macros.dashboard.RecentlyUpdatedContentMacro
- All Implemented Interfaces:
- com.atlassian.renderer.v2.macro.Macro
public final class RecentlyUpdatedContentMacro
- extends ContentFilteringMacro
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro |
RAW_PARAMS_KEY |
Methods inherited from class com.atlassian.renderer.v2.macro.BaseMacro |
getTokenType, getWysiwygBodyType, suppressMacroRenderingDuringWysiwyg, suppressSurroundingTagDuringWysiwygRendering |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
RecentlyUpdatedContentMacro
public RecentlyUpdatedContentMacro()
isInline
public boolean isInline()
- Specified by:
isInline
in interface com.atlassian.renderer.v2.macro.Macro
- Overrides:
isInline
in class com.atlassian.renderer.v2.macro.BaseMacro
hasBody
public boolean hasBody()
getBodyRenderMode
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
execute
public String execute(MacroExecutionContext ctx)
throws com.atlassian.renderer.v2.macro.MacroException
- Description copied from class:
ContentFilteringMacro
- Subclasses must override macro-specific functionality in this method.
- Specified by:
execute
in class ContentFilteringMacro
- Parameters:
ctx
- the MacroExecutionContext
for this invocation
- Returns:
- the processed wiki or HTML for displaying
- Throws:
com.atlassian.renderer.v2.macro.MacroException
- if the macro fails to execute
getMacroVelocityContext
protected Map<String,Object> getMacroVelocityContext()
getName
public String getName()
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
setSmartListManager
public void setSmartListManager(SmartListManager smartListManager)
setLabelManager
public void setLabelManager(LabelManager labelManager)
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
getUserAccessor
public UserAccessor getUserAccessor()
setSpaceGroupManager
public void setSpaceGroupManager(SpaceGroupManager spaceGroupManager)
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
setAnyTypeObjectDao
public void setAnyTypeObjectDao(com.atlassian.bonnie.AnyTypeObjectDao anyTypeObjectDao)
setThumbnailInfoFactory
public void setThumbnailInfoFactory(ThumbnailInfoFactory thumbnailInfoFactory)
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
setLocaleManager
public void setLocaleManager(LocaleManager localeManager)
getIdFromChangeItem
public Long getIdFromChangeItem(SearchResultWithExcerpt changeItem)
Copyright © 2003-2011 Atlassian. All Rights Reserved.