com.atlassian.confluence.plugins.like
Class DefaultLikeSummaryCreator

java.lang.Object
  extended by com.atlassian.confluence.plugins.like.DefaultLikeSummaryCreator
All Implemented Interfaces:
LikeSummaryCreator

public class DefaultLikeSummaryCreator
extends Object
implements LikeSummaryCreator


Constructor Summary
DefaultLikeSummaryCreator(UserEntityExpander userEntityExpander, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
           
 
Method Summary
 String createSummary(ContentEntityObject contentEntity, List<Like> likes, Set<String> followees)
          Creates summary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLikeSummaryCreator

public DefaultLikeSummaryCreator(UserEntityExpander userEntityExpander,
                                 I18NBeanFactory i18NBeanFactory,
                                 LocaleManager localeManager)
Method Detail

createSummary

public String createSummary(ContentEntityObject contentEntity,
                            List<Like> likes,
                            Set<String> followees)
Description copied from interface: LikeSummaryCreator
Creates summary.

Specified by:
createSummary in interface LikeSummaryCreator
Parameters:
contentEntity - the content entity
likes - likes for the specified content entity
followees - a set of usernames the current logged in user is following
Returns:
the summary


Copyright © 2003-2012 Atlassian. All Rights Reserved.