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

java.lang.Object
  extended by org.radeox.macro.BaseMacro
      extended by com.atlassian.renderer.macro.BaseMacro
          extended by com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
              extended by com.atlassian.confluence.plugins.macros.dashboard.CreateSpaceButtonMacro
All Implemented Interfaces:
Comparable, org.radeox.macro.Macro

public class CreateSpaceButtonMacro
extends AbstractHtmlGeneratingMacro


Field Summary
static String MACRO_NAME
           
 
Fields inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
log
 
Fields inherited from class org.radeox.macro.BaseMacro
initialContext, paramDescription
 
Constructor Summary
CreateSpaceButtonMacro()
           
 
Method Summary
protected  String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
           
protected  Map<String,Object> getMacroVelocityContext()
           
 String getName()
           
protected  String renderButton(Map contextMap)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 
Methods inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
buildBaseUrl, errorContent, execute, getPageContext, getRemoteUser, hasLoneParameter, parseParameterForKey
 
Methods inherited from class com.atlassian.renderer.macro.BaseMacro
getDescription, getResourcePath, setDescription, setResourcePath
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getParamDescription, setInitialContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.radeox.macro.Macro
getParamDescription, setInitialContext
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

MACRO_NAME

public static final String MACRO_NAME
See Also:
Constant Field Values
Constructor Detail

CreateSpaceButtonMacro

public CreateSpaceButtonMacro()
Method Detail

getHtml

protected String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
                  throws IllegalArgumentException,
                         IOException
Specified by:
getHtml in class AbstractHtmlGeneratingMacro
Throws:
IllegalArgumentException
IOException

getMacroVelocityContext

protected Map<String,Object> getMacroVelocityContext()

renderButton

protected String renderButton(Map contextMap)

getName

public String getName()
Specified by:
getName in interface org.radeox.macro.Macro
Specified by:
getName in class org.radeox.macro.BaseMacro

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003-2011 Atlassian. All Rights Reserved.