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 java.lang.Object
implements EdgeQueries


Constructor Summary
DefaultEdgeQueries(UserAccessor userAccessor, com.atlassian.bonnie.ILuceneConnection luceneConnection, FollowManager followManager, EdgeTypeRepository edgeTypeRepository)
           
 
Method Summary
 java.util.List<EdgeTargetInfo> getMostPopular(EdgeQueryParameter edgeQueryParameter)
           
 java.util.List<EdgeTargetInfo> getMostPopular(long number, java.util.concurrent.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,
                          EdgeTypeRepository edgeTypeRepository)
Method Detail

getMostPopular

public java.util.List<EdgeTargetInfo> getMostPopular(long number,
                                                     java.util.concurrent.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

getMostPopular

public java.util.List<EdgeTargetInfo> getMostPopular(EdgeQueryParameter edgeQueryParameter)
Specified by:
getMostPopular in interface EdgeQueries


Copyright © 2003-2014 Atlassian. All Rights Reserved.