public interface PopularContentManager
Modifier and Type | Method and Description |
---|---|
List<PopularContentExcerptDto> |
getPopularContent(ConfluenceUser user,
Date date,
Space space,
int maxResults,
int numberOfDays)
Creates a list with popular content excerpt DTOs that have been active in the last number of days.
|
List<PopularContentExcerptDto> |
getPopularContent(com.atlassian.user.User user,
Date date,
Space space,
int maxResults,
int numberOfDays)
Deprecated.
|
List<PopularContentExcerptDto> getPopularContent(ConfluenceUser user, Date date, @Nullable Space space, int maxResults, int numberOfDays)
user
- the user who will view the results, this is used both to filter for permissions and as a context
to rank the results.date
- the date to evaluate the numberOfDays prior to, to determine whether the content was activespace
- the space this content will be constrained to, may be nullmaxResults
- the maximum number of results to returnnumberOfDays
- the number of days to evaluate the content score over.@Deprecated List<PopularContentExcerptDto> getPopularContent(com.atlassian.user.User user, Date date, @Nullable Space space, int maxResults, int numberOfDays)
getPopularContent(com.atlassian.confluence.user.ConfluenceUser, java.util.Date, com.atlassian.confluence.spaces.Space, int, int)
instead.Copyright © 2003–2015 Atlassian. All rights reserved.