com.atlassian.confluence.plugins.macros.dashboard
Class CreateSpaceButtonMacro

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.BaseMacro
      extended by com.atlassian.confluence.plugins.macros.dashboard.CreateSpaceButtonMacro
All Implemented Interfaces:
com.atlassian.renderer.v2.macro.Macro

public class CreateSpaceButtonMacro
extends com.atlassian.renderer.v2.macro.BaseMacro


Field Summary
static java.lang.String MACRO_NAME
           
 
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro
RAW_PARAMS_KEY
 
Constructor Summary
CreateSpaceButtonMacro()
           
 
Method Summary
 java.lang.String execute(java.util.Map parameters, java.lang.String body, com.atlassian.renderer.RenderContext renderContext)
           
 com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
           
protected  java.util.Map<java.lang.String,java.lang.Object> getMacroVelocityContext()
           
 java.lang.String getName()
           
 boolean hasBody()
           
protected  java.lang.String renderButton(java.util.Map contextMap)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 
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
Constructor Detail

CreateSpaceButtonMacro

public CreateSpaceButtonMacro()
Method Detail

execute

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

getMacroVelocityContext

protected java.util.Map<java.lang.String,java.lang.Object> getMacroVelocityContext()

renderButton

protected java.lang.String renderButton(java.util.Map contextMap)

getName

public java.lang.String getName()

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003-2014 Atlassian. All Rights Reserved.