com.atlassian.confluence.plugins.edgeindex
Class DefaultEdgeQueries

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.DefaultEdgeQueries
All Implemented Interfaces:
EdgeQueries

public class DefaultEdgeQueries
extends Object
implements EdgeQueries


Constructor Summary
DefaultEdgeQueries(UserAccessor userAccessor, com.atlassian.bonnie.ILuceneConnection luceneConnection, FollowManager followManager)
           
 
Method Summary
 List<EdgeTargetId> getMostPopular(long number, TimeUnit timeUnit, ScoreConfig scoreConfig)
          Retrieves the most popular content for the specified time interval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEdgeQueries

public DefaultEdgeQueries(UserAccessor userAccessor,
                          com.atlassian.bonnie.ILuceneConnection luceneConnection,
                          FollowManager followManager)
Method Detail

getMostPopular

public List<EdgeTargetId> getMostPopular(long number,
                                         TimeUnit timeUnit,
                                         ScoreConfig scoreConfig)
Description copied from interface: EdgeQueries
Retrieves the most popular content for the specified time interval. Popular content is defined as targets that have the most edges / interactions.

Specified by:
getMostPopular in interface EdgeQueries


Copyright © 2003-2012 Atlassian. All Rights Reserved.