Class RecentlyUpdatedMacroTabProvider
java.lang.Object
com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentlyUpdatedMacroTabProvider
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
public class RecentlyUpdatedMacroTabProvider
extends Object
implements org.springframework.beans.factory.InitializingBean
Provider for tabs. Holds instances of each type of tab.
-
Constructor Summary
ConstructorsConstructorDescriptionRecentlyUpdatedMacroTabProvider
(SpaceManager spaceManager, LabelManager labelManager, PermissionManager permissionManager, FollowService followService, UserAccessor userAccessor, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getTabByName
(String name) Returns the tab with the specified name, or a default tab if no tab matches the name.
-
Constructor Details
-
RecentlyUpdatedMacroTabProvider
@Autowired public RecentlyUpdatedMacroTabProvider(SpaceManager spaceManager, LabelManager labelManager, PermissionManager permissionManager, FollowService followService, UserAccessor userAccessor, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getAvailableTabs
-
getTabByName
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
- Returns:
- the default tab for the recently updated macro.
-