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

java.lang.Object
  extended by com.atlassian.confluence.plugins.macros.dashboard.RecentlyUpdatedMacroTabProvider
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class RecentlyUpdatedMacroTabProvider
extends Object
implements org.springframework.beans.factory.InitializingBean

Provider for tabs. Holds instances of each type of tab.


Constructor Summary
RecentlyUpdatedMacroTabProvider()
           
 
Method Summary
 void afterPropertiesSet()
           
 List<RecentlyUpdatedMacroTab> getAvailableTabs()
           
 RecentlyUpdatedMacroTab getDefaultTab()
           
 RecentlyUpdatedMacroTab getTabByName(String name)
          Returns the tab with the specified name, or a default tab if no tab matches the name.
 void setFollowManager(FollowManager followManager)
           
 void setLabelManager(LabelManager labelManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setUserAccessor(UserAccessor userAccessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentlyUpdatedMacroTabProvider

public RecentlyUpdatedMacroTabProvider()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getAvailableTabs

public List<RecentlyUpdatedMacroTab> getAvailableTabs()

getTabByName

public RecentlyUpdatedMacroTab getTabByName(String name)
Returns the tab with the specified name, or a default tab if no tab matches the name.

Parameters:
name - The string identifier for the tab. See RecentlyUpdatedMacroTab
Returns:
The tab object for that tab

getDefaultTab

public RecentlyUpdatedMacroTab getDefaultTab()
Returns:
the default tab for the recently updated macro.

setLabelManager

public void setLabelManager(LabelManager labelManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setFollowManager

public void setFollowManager(FollowManager followManager)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

setUserAccessor

public void setUserAccessor(UserAccessor userAccessor)


Copyright © 2003-2012 Atlassian. All Rights Reserved.