com.atlassian.confluence.renderer.v2.macros
Class RecentlyUsedLabelsMacro

java.lang.Object
  extended bycom.atlassian.renderer.v2.macro.BaseMacro
      extended bycom.atlassian.confluence.renderer.v2.macros.RecentlyUsedLabelsMacro
All Implemented Interfaces:
Macro

public class RecentlyUsedLabelsMacro
extends BaseMacro

Show the 'n' most recently modified labels. The number of labels returned by this macro is limited to 100. This macro supports the three scopes: global, space and personal. This macro supports two styles. Compact and tablular. Compact will render a simple comma separated list and tabular will render a table of information related to the recent label usage. In particular, the name of the user that added the label to the content, and the page to which it was added.


Field Summary
 
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro
RAW_PARAMS_KEY
 
Constructor Summary
RecentlyUsedLabelsMacro()
           
 
Method Summary
 String execute(Map parameters, String string, RenderContext renderContext)
           
 RenderMode getBodyRenderMode()
           
 boolean hasBody()
           
 boolean isInline()
           
 void setLabelManager(LabelManager manager)
           
 
Methods inherited from class com.atlassian.renderer.v2.macro.BaseMacro
suppressMacroRenderingDuringWysiwyg, suppressSurroundingTagDuringWysiwygRendering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentlyUsedLabelsMacro

public RecentlyUsedLabelsMacro()
Method Detail

setLabelManager

public void setLabelManager(LabelManager manager)

execute

public String execute(Map parameters,
                      String string,
                      RenderContext renderContext)
               throws MacroException
Throws:
MacroException

getBodyRenderMode

public RenderMode getBodyRenderMode()

hasBody

public boolean hasBody()

isInline

public boolean isInline()


Confluence is developed by Atlassian.