com.atlassian.confluence.macro.profile
Class NetworkMacro
java.lang.Object
com.atlassian.renderer.v2.macro.BaseMacro
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 |
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 |
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
NetworkMacro
public NetworkMacro()
hasBody
public boolean hasBody()
getBodyRenderMode
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
execute
public java.lang.String execute(java.util.Map params,
java.lang.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-2014 Atlassian. All Rights Reserved.