com.atlassian.confluence.macro.profile
Class NetworkMacro

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.BaseMacro
      extended by com.atlassian.confluence.macro.profile.NetworkMacro
All Implemented Interfaces:
com.atlassian.renderer.v2.macro.Macro

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

A macro that shows a user's network information


Field Summary
static int PEOPLE_MAX
          Set a hard limit on the number of avatars to display to preserve resonable page load times.
 
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro
RAW_PARAMS_KEY
 
Constructor Summary
NetworkMacro()
           
 
Method Summary
 String execute(Map params, String body, com.atlassian.renderer.RenderContext renderContext)
           
 com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
           
 boolean hasBody()
           
 void setFollowManager(FollowManager followManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setUserAccessor(UserAccessor userAccessor)
           
 
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

PEOPLE_MAX

public static final int PEOPLE_MAX
Set a hard limit on the number of avatars to display to preserve resonable page load times.

See Also:
Constant Field Values
Constructor Detail

NetworkMacro

public NetworkMacro()
Method Detail

hasBody

public boolean hasBody()

getBodyRenderMode

public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()

execute

public String execute(Map params,
                      String body,
                      com.atlassian.renderer.RenderContext renderContext)
               throws com.atlassian.renderer.v2.macro.MacroException
Throws:
com.atlassian.renderer.v2.macro.MacroException

setUserAccessor

public void setUserAccessor(UserAccessor userAccessor)

setFollowManager

public void setFollowManager(FollowManager followManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003-2013 Atlassian. All Rights Reserved.