- All Known Implementing Classes:
public interface PopularContentManager
List<PopularContentExcerptDto> getPopularContent(com.atlassian.user.User user,
- Creates a list with popular content excerpt DTOs that have been active in the last number of days.
A piece of content is only considered popular if it has at least one like or one comment.
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 active
maxResults - - the maximum number of results to return
numberOfDays - - the number of days to evaluate the content score over.
- - a list of excerpt that were active in the previous numberOfDays ranked by relevance for the user.
Copyright © 2003-2013 Atlassian. All Rights Reserved.