Class DefaultPopularContentQueries
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.DefaultPopularContentQueries
-
- All Implemented Interfaces:
PopularContentQueries
@Component public class DefaultPopularContentQueries extends Object implements PopularContentQueries
-
-
Constructor Summary
Constructors Constructor Description DefaultPopularContentQueries(EdgeQueries edgeQueries, ContentEntityManager contentEntityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContentEntityObject>getMostPopular(int maxResults, EdgeQueryParameter queryParameter)find popular content that have occurred in the last period of time
-
-
-
Constructor Detail
-
DefaultPopularContentQueries
@Autowired public DefaultPopularContentQueries(EdgeQueries edgeQueries, ContentEntityManager contentEntityManager)
-
-
Method Detail
-
getMostPopular
public List<ContentEntityObject> getMostPopular(int maxResults, EdgeQueryParameter queryParameter)
Description copied from interface:PopularContentQueriesfind popular content that have occurred in the last period of time- Specified by:
getMostPopularin interfacePopularContentQueries- Parameters:
maxResults- - the maximum number contentEntityObjects to returnqueryParameter- - the previous amount of time to examine- Returns:
-
-