com.atlassian.confluence.plugins.like.notifications
Class CreateLikeEventContextFactory

java.lang.Object
  extended by com.atlassian.confluence.notifications.ParticipantTemplate<PAYLOAD>
      extended by com.atlassian.confluence.notifications.RenderContextProviderTemplate<LikePayload>
          extended by com.atlassian.confluence.plugins.like.notifications.CreateLikeEventContextFactory
All Implemented Interfaces:
com.atlassian.confluence.notifications.Participant<LikePayload>, com.atlassian.confluence.notifications.RenderContextProvider<LikePayload>

public class CreateLikeEventContextFactory
extends com.atlassian.confluence.notifications.RenderContextProviderTemplate<LikePayload>


Field Summary
 
Fields inherited from class com.atlassian.confluence.notifications.ParticipantTemplate
payloadType
 
Constructor Summary
CreateLikeEventContextFactory(com.atlassian.confluence.notifications.CachedContentFinder cachedContentFinder, UserAccessor userAccessor, FollowManager followManager, Excerpter excerpter, LocaleManager localeManager)
           
 
Method Summary
protected  com.atlassian.fugue.Maybe<java.util.Map<java.lang.String,java.lang.Object>> checkedCreate(com.atlassian.confluence.notifications.Notification<LikePayload> notification, com.atlassian.plugin.notifications.api.medium.ServerConfiguration serverConfiguration, com.atlassian.fugue.Maybe<com.atlassian.fugue.Either<com.atlassian.plugin.notifications.api.medium.NotificationAddress,com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient>> roleRecipient)
           
 
Methods inherited from class com.atlassian.confluence.notifications.RenderContextProviderTemplate
create, createMessageMetadata
 
Methods inherited from class com.atlassian.confluence.notifications.ParticipantTemplate
getPayloadType, verifyPayloadMatches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.notifications.Participant
getPayloadType
 

Constructor Detail

CreateLikeEventContextFactory

public CreateLikeEventContextFactory(com.atlassian.confluence.notifications.CachedContentFinder cachedContentFinder,
                                     UserAccessor userAccessor,
                                     FollowManager followManager,
                                     Excerpter excerpter,
                                     LocaleManager localeManager)
Method Detail

checkedCreate

protected com.atlassian.fugue.Maybe<java.util.Map<java.lang.String,java.lang.Object>> checkedCreate(com.atlassian.confluence.notifications.Notification<LikePayload> notification,
                                                                                                    com.atlassian.plugin.notifications.api.medium.ServerConfiguration serverConfiguration,
                                                                                                    com.atlassian.fugue.Maybe<com.atlassian.fugue.Either<com.atlassian.plugin.notifications.api.medium.NotificationAddress,com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient>> roleRecipient)
Specified by:
checkedCreate in class com.atlassian.confluence.notifications.RenderContextProviderTemplate<LikePayload>


Copyright © 2003-2014 Atlassian. All Rights Reserved.