com.hascode.confluence.plugin.socialcomments.service
Class SocialNotificationTemplateCreatorImpl

java.lang.Object
  extended by com.hascode.confluence.plugin.socialcomments.service.SocialNotificationTemplateCreatorImpl
All Implemented Interfaces:
SocialNotificationTemplateCreator

public class SocialNotificationTemplateCreatorImpl
extends Object
implements SocialNotificationTemplateCreator


Constructor Summary
SocialNotificationTemplateCreatorImpl(SocialCommentsConfigurationService configService, com.atlassian.confluence.setup.settings.SettingsManager settingsManager)
           
 
Method Summary
 String generateBody(com.atlassian.user.User user, com.atlassian.confluence.pages.Comment comment)
          creates the notification's body
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialNotificationTemplateCreatorImpl

public SocialNotificationTemplateCreatorImpl(SocialCommentsConfigurationService configService,
                                             com.atlassian.confluence.setup.settings.SettingsManager settingsManager)
Method Detail

generateBody

public String generateBody(com.atlassian.user.User user,
                           com.atlassian.confluence.pages.Comment comment)
Description copied from interface: SocialNotificationTemplateCreator
creates the notification's body

Specified by:
generateBody in interface SocialNotificationTemplateCreator
Parameters:
user - the user notified
comment - the original comment
Returns:
the created notification


Copyright © 2011 hasCode.com. All Rights Reserved.