com.atlassian.confluence.plugins.dailysummary.content.popular
Class DefaultPopularContentManager
java.lang.Object
com.atlassian.confluence.plugins.dailysummary.content.popular.DefaultPopularContentManager
- All Implemented Interfaces:
- PopularContentManager
public class DefaultPopularContentManager
- extends Object
- implements PopularContentManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPopularContentManager
public DefaultPopularContentManager(PageManager pageManager,
FollowManager followManager,
FavouriteManager favouritesManager,
LikeDao likeDao,
PopularContentDtoFactory popularContentDtoFactory,
net.sf.hibernate.SessionFactory sf,
PopularContentQueries contentQueries,
PermissionManager permissionManager)
getPopularContent
public List<PopularContentExcerptDto> getPopularContent(com.atlassian.user.User user,
Date date,
int maxResults,
int numDays)
- Specified by:
getPopularContent
in interface PopularContentManager
sortByRelevance
protected List<ContentStat> sortByRelevance(List<ContentEntityObject> ceos,
com.atlassian.user.User user,
Date since)
score
protected int score(ContentEntityObject content,
com.atlassian.user.User user,
Set<String> followingSet,
Date since)
Copyright © 2003-2012 Atlassian. All Rights Reserved.