Class RecentlyUpdatedContentService
- java.lang.Object
-
- com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentlyUpdatedContentService
-
public class RecentlyUpdatedContentService extends Object
Service to retrieve recently updated content- Since:
- 4.3
-
-
Constructor Summary
Constructors Constructor Description RecentlyUpdatedContentService(ContentUiSupport contentUiSupport, I18NBeanFactory i18NBeanFactory, PermissionManager permissionManager, HttpContext httpContext, LocaleManager localeManager, FormatSettingsManager formatSettingsManager, UserAccessor userAccessor, SearchManager searchManager, PredefinedSearchBuilder searchBuilder, ConfluenceMonitoring confluenceMonitoring, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPreferredMaxResults()
String
getPreferredTab()
List<RecentUpdateGroup>
getRecentUpdates(RecentUpdateQueryParameters queryParams, int maxResults)
void
setPreferredMaxResults(int numResults)
void
setPreferredTab(String tabName)
-
-
-
Constructor Detail
-
RecentlyUpdatedContentService
public RecentlyUpdatedContentService(ContentUiSupport contentUiSupport, I18NBeanFactory i18NBeanFactory, PermissionManager permissionManager, HttpContext httpContext, LocaleManager localeManager, FormatSettingsManager formatSettingsManager, UserAccessor userAccessor, SearchManager searchManager, PredefinedSearchBuilder searchBuilder, ConfluenceMonitoring confluenceMonitoring, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
getRecentUpdates
public List<RecentUpdateGroup> getRecentUpdates(RecentUpdateQueryParameters queryParams, int maxResults) throws InvalidSearchException
- Throws:
InvalidSearchException
-
setPreferredTab
public void setPreferredTab(String tabName)
-
getPreferredTab
public String getPreferredTab()
-
setPreferredMaxResults
public void setPreferredMaxResults(int numResults)
-
getPreferredMaxResults
public int getPreferredMaxResults()
-
-