Class RecentlyUpdatedMacroTabProvider
- java.lang.Object
-
- com.atlassian.confluence.plugins.macros.dashboard.recentupdates.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
Constructors Constructor Description RecentlyUpdatedMacroTabProvider(SpaceManager spaceManager, LabelManager labelManager, PermissionManager permissionManager, FollowService followService, UserAccessor userAccessor, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
RecentlyUpdatedMacroTabProvider
public RecentlyUpdatedMacroTabProvider(SpaceManager spaceManager, LabelManager labelManager, PermissionManager permissionManager, FollowService followService, UserAccessor userAccessor, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.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. SeeRecentlyUpdatedMacroTab
- Returns:
- The tab object for that tab
-
getDefaultTab
public RecentlyUpdatedMacroTab getDefaultTab()
- Returns:
- the default tab for the recently updated macro.
-
-