com.atlassian.confluence.plugins.like
Class DefaultLikeSummaryCreator

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

Deprecated. since 4.3. Like summary creation has been moved to client side. See like-summary-factory.js.

@Deprecated
public class DefaultLikeSummaryCreator
extends Object
implements LikeSummaryCreator


Constructor Summary
DefaultLikeSummaryCreator(UserEntityExpander userEntityExpander, I18NBeanFactory i18NBeanFactory, LocaleManager localeManager)
          Deprecated.  
 
Method Summary
 String createSummary(ContentEntityObject contentEntity, List<Like> likes, Set<String> followees)
          Deprecated. 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)
Deprecated. 
Method Detail

createSummary

public String createSummary(ContentEntityObject contentEntity,
                            List<Like> likes,
                            Set<String> followees)
Deprecated. 
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–2015 Atlassian. All rights reserved.