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, EdgeTypeRepository edgeTypeRepository, NetworkService networkService)
           
 
Method Summary
 List<EdgeTargetInfo> getMostPopular(EdgeQueryParameter edgeQueryParameter)
           
 List<EdgeTargetInfo> 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,
                          EdgeTypeRepository edgeTypeRepository,
                          NetworkService networkService)
Method Detail

getMostPopular

public List<EdgeTargetInfo> 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

getMostPopular

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


Copyright © 2003–2015 Atlassian. All rights reserved.