@Component public class DefaultPopularContentQueries extends Object implements PopularContentQueries
Constructor and Description |
---|
DefaultPopularContentQueries(EdgeQueries edgeQueries,
ContentEntityManager contentEntityManager) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
getMostPopular(int maxResults,
EdgeQueryParameter queryParameter)
find popular content that have occurred in the last period of time
|
@Autowired public DefaultPopularContentQueries(EdgeQueries edgeQueries, ContentEntityManager contentEntityManager)
public List<ContentEntityObject> getMostPopular(int maxResults, EdgeQueryParameter queryParameter)
PopularContentQueries
getMostPopular
in interface PopularContentQueries
maxResults
- - the maximum number contentEntityObjects to returnqueryParameter
- - the previous amount of time to examineCopyright © 2003–2021 Atlassian. All rights reserved.