com.atlassian.confluence.plugins.edgeindex
Interface PopularContentQueries

All Known Implementing Classes:
DefaultPopularContentQueries

public interface PopularContentQueries


Method Summary
 List<ContentEntityObject> getMostPopular(int maxResults, int lastTimePeriod, TimeUnit timeUnit)
           
 List<ContentEntityObject> getMostPopular(int maxResults, int timePeriod, TimeUnit timeUnit, ScoreConfig scoreConfig)
          find popular content based on comments and likes that have occured in the last period of time
 

Method Detail

getMostPopular

List<ContentEntityObject> getMostPopular(int maxResults,
                                         int timePeriod,
                                         TimeUnit timeUnit,
                                         ScoreConfig scoreConfig)
find popular content based on comments and likes that have occured in the last period of time

Parameters:
maxResults - - the maximum number contentEntityObjects to return
timePeriod - - the previous amount of time to examine
timeUnit - - the unit of the time period
Returns:

getMostPopular

List<ContentEntityObject> getMostPopular(int maxResults,
                                         int lastTimePeriod,
                                         TimeUnit timeUnit)


Copyright © 2003-2012 Atlassian. All Rights Reserved.