com.atlassian.confluence.plugins.edgeindex
Interface PopularContentQueries

All Known Implementing Classes:
DefaultPopularContentQueries

public interface PopularContentQueries


Method Summary
 List<ContentEntityObject> getMostPopular(int maxResults, EdgeQueryParameter queryParameter)
          find popular content that have occurred in the last period of time
 List<ContentEntityObject> getMostPopular(int maxResults, int lastTimePeriod, TimeUnit timeUnit)
          Deprecated. 
 List<ContentEntityObject> getMostPopular(int maxResults, int timePeriod, TimeUnit timeUnit, ScoreConfig scoreConfig)
          Deprecated. since 5.3 use the method getMostPopular(int, EdgeQueryParameter) instead
 

Method Detail

getMostPopular

@Deprecated
List<ContentEntityObject> getMostPopular(int maxResults,
                                                    int timePeriod,
                                                    TimeUnit timeUnit,
                                                    ScoreConfig scoreConfig)
Deprecated. since 5.3 use the method getMostPopular(int, EdgeQueryParameter) instead

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

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


getMostPopular

List<ContentEntityObject> getMostPopular(int maxResults,
                                         EdgeQueryParameter queryParameter)
find popular content that have occurred in the last period of time

Parameters:
maxResults - - the maximum number contentEntityObjects to return
queryParameter - - the previous amount of time to examine
Returns:


Copyright © 2003–2015 Atlassian. All rights reserved.