public class DefaultEdgeQueries extends Object implements EdgeQueries
Constructor and Description |
---|
DefaultEdgeQueries(UserAccessor userAccessor,
com.atlassian.bonnie.ILuceneConnection luceneConnection,
EdgeTypeRepository edgeTypeRepository,
NetworkService networkService)
Deprecated.
|
DefaultEdgeQueries(UserAccessor userAccessor,
com.atlassian.bonnie.ILuceneConnection luceneConnection,
EdgeTypeRepository edgeTypeRepository,
NetworkService networkService,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
List<EdgeTargetInfo> |
getMostPopular(EdgeQueryParameter edgeQueryParameter) |
List<EdgeTargetInfo> |
getMostPopular(long number,
TimeUnit timeUnit,
ScoreConfig scoreConfig)
Retrieves the most popular content for the specified time interval.
|
public DefaultEdgeQueries(UserAccessor userAccessor, com.atlassian.bonnie.ILuceneConnection luceneConnection, EdgeTypeRepository edgeTypeRepository, NetworkService networkService, com.atlassian.event.api.EventPublisher eventPublisher)
@Deprecated public DefaultEdgeQueries(UserAccessor userAccessor, com.atlassian.bonnie.ILuceneConnection luceneConnection, EdgeTypeRepository edgeTypeRepository, NetworkService networkService)
DefaultEdgeQueries(UserAccessor, ILuceneConnection, EdgeTypeRepository,
NetworkService, EventPublisher)
public List<EdgeTargetInfo> getMostPopular(long number, TimeUnit timeUnit, ScoreConfig scoreConfig)
EdgeQueries
Popular content is defined as targets that have the most edges / interactions.
getMostPopular
in interface EdgeQueries
public List<EdgeTargetInfo> getMostPopular(EdgeQueryParameter edgeQueryParameter)
getMostPopular
in interface EdgeQueries
Copyright © 2003–2018 Atlassian. All rights reserved.