Class CreateSpaceButtonMacro
- java.lang.Object
-
- com.atlassian.renderer.v2.macro.BaseMacro
-
- 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
Fields Modifier and Type Field Description static String
MACRO_NAME
-
Constructor Summary
Constructors Constructor Description CreateSpaceButtonMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(Map parameters, String body, com.atlassian.renderer.RenderContext renderContext)
com.atlassian.renderer.v2.RenderMode
getBodyRenderMode()
String
getName()
boolean
hasBody()
protected String
renderButton(Map contextMap)
void
setPermissionManager(PermissionManager permissionManager)
void
setVelocityHelperService(VelocityHelperService velocityHelperService)
-
-
-
Field Detail
-
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public String execute(Map parameters, 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()
-
getName
public String getName()
-
setPermissionManager
public void setPermissionManager(PermissionManager permissionManager)
-
setVelocityHelperService
public void setVelocityHelperService(VelocityHelperService velocityHelperService)
-
-