Class RecentlyUpdatedContentService
java.lang.Object
com.atlassian.confluence.plugins.macros.dashboard.recentupdates.RecentlyUpdatedContentService
Service to retrieve recently updated content
- Since:
- 4.3
-
Constructor Summary
ConstructorsConstructorDescriptionRecentlyUpdatedContentService
(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
Modifier and TypeMethodDescriptionint
getRecentUpdates
(RecentUpdateQueryParameters queryParams, int maxResults) void
setPreferredMaxResults
(int numResults) void
setPreferredTab
(String tabName)
-
Constructor Details
-
RecentlyUpdatedContentService
@Autowired 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 Details
-
getRecentUpdates
public List<RecentUpdateGroup> getRecentUpdates(RecentUpdateQueryParameters queryParams, int maxResults) throws InvalidSearchException - Throws:
InvalidSearchException
-
setPreferredTab
-
getPreferredTab
-
setPreferredMaxResults
public void setPreferredMaxResults(int numResults) -
getPreferredMaxResults
public int getPreferredMaxResults()
-