Class AbstractTab
java.lang.Object
com.atlassian.confluence.plugins.macros.dashboard.recentupdates.tabs.AbstractTab
- All Implemented Interfaces:
RecentlyUpdatedMacroTab
- Direct Known Subclasses:
AllContentTab
,FavouriteSpacesTab
,NetworkTab
,PopularTab
,SpaceCategoryTab
Shared tab logic.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractTab
(HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.plugins.macros.dashboard.recentupdates.tabs.RecentlyUpdatedMacroTab
getName, getQueryParameters, getRenderContext, shouldDisplay
-
Field Details
-
httpContext
-
i18NBeanFactory
-
-
Constructor Details
-
AbstractTab
protected AbstractTab(HttpContext httpContext, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceRecentlyUpdatedMacroTab
- Returns:
- the internationalised name for this tab, specific to the user currently viewing the tab.
-
getNoContentMessage
- Specified by:
getNoContentMessage
in interfaceRecentlyUpdatedMacroTab
- Returns:
- the internationalised message to display when this tab has no content.
-
getUrl
Description copied from interface:RecentlyUpdatedMacroTab
Given the page URL where the macro is rendered, generates a URL to select this tab.- Specified by:
getUrl
in interfaceRecentlyUpdatedMacroTab
- Returns:
- The URL to select this tab
-
getUser
protected com.atlassian.user.User getUser()
-