com.atlassian.confluence.plugins.edgeindex
Class DefaultPopularContentQueries
java.lang.Object
com.atlassian.confluence.plugins.edgeindex.DefaultPopularContentQueries
- All Implemented Interfaces:
- PopularContentQueries
public class DefaultPopularContentQueries
- extends java.lang.Object
- implements PopularContentQueries
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPopularContentQueries
public DefaultPopularContentQueries(EdgeQueries edgeQueries,
ContentEntityManager contentEntityManager)
getMostPopular
public java.util.List<ContentEntityObject> getMostPopular(int maxResults,
EdgeQueryParameter queryParameter)
- Description copied from interface:
PopularContentQueries
- find popular content that have occurred in the last period of time
- Specified by:
getMostPopular
in interface PopularContentQueries
- Parameters:
maxResults
- - the maximum number contentEntityObjects to returnqueryParameter
- - the previous amount of time to examine
- Returns:
getMostPopular
public java.util.List<ContentEntityObject> getMostPopular(int maxResults,
int lastTimePeriod,
java.util.concurrent.TimeUnit timeUnit)
- Specified by:
getMostPopular
in interface PopularContentQueries
getMostPopular
public java.util.List<ContentEntityObject> getMostPopular(int maxResults,
int lastTimePeriod,
java.util.concurrent.TimeUnit timeUnit,
ScoreConfig scoreConfig)
- Description copied from interface:
PopularContentQueries
- find popular content based on comments and likes that have occured in the last
period of time
- Specified by:
getMostPopular
in interface PopularContentQueries
- Parameters:
maxResults
- - the maximum number contentEntityObjects to returnlastTimePeriod
- - the previous amount of time to examinetimeUnit
- - the unit of the time period
- Returns:
Copyright © 2003-2013 Atlassian. All Rights Reserved.