com.atlassian.confluence.plugins.dailysummary.content.popular
Class DefaultPopularContentDtoFactory

java.lang.Object
  extended by com.atlassian.confluence.plugins.dailysummary.content.popular.DefaultPopularContentDtoFactory
All Implemented Interfaces:
PopularContentDtoFactory

public class DefaultPopularContentDtoFactory
extends Object
implements PopularContentDtoFactory


Constructor Summary
DefaultPopularContentDtoFactory(Excerpter excerpter, LikeManager likeManager, FollowManager followManager, com.atlassian.user.UserManager userManager, DataSourceFactory dataSourceFactory, List<String> excludedMacros)
           
 
Method Summary
 PopularContentExcerptDto createExcerpt(ContentEntityObject content, com.atlassian.user.User user, Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPopularContentDtoFactory

public DefaultPopularContentDtoFactory(Excerpter excerpter,
                                       LikeManager likeManager,
                                       FollowManager followManager,
                                       com.atlassian.user.UserManager userManager,
                                       DataSourceFactory dataSourceFactory,
                                       List<String> excludedMacros)
Method Detail

createExcerpt

public PopularContentExcerptDto createExcerpt(ContentEntityObject content,
                                              com.atlassian.user.User user,
                                              Date date)
Specified by:
createExcerpt in interface PopularContentDtoFactory
Parameters:
content -
user -
date -
Returns:
a new excerpt or null if a problem was encountered creating the excerpt


Copyright © 2003-2013 Atlassian. All Rights Reserved.