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

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

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

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


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

Constructor Detail

RecentlyUpdatedMacroTabProvider

public RecentlyUpdatedMacroTabProvider(SpaceManager spaceManager,
                                       LabelManager labelManager,
                                       PermissionManager permissionManager,
                                       FollowManager followManager,
                                       UserAccessor userAccessor,
                                       HttpContext httpContext,
                                       I18NBeanFactory i18NBeanFactory,
                                       LocaleManager localeManager)
Method Detail

afterPropertiesSet

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

getAvailableTabs

public java.util.List<RecentlyUpdatedMacroTab> getAvailableTabs()

getTabByName

public RecentlyUpdatedMacroTab getTabByName(java.lang.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.


Copyright © 2003-2014 Atlassian. All Rights Reserved.