Class CreateLikeEventRecipientProvider

  • All Implemented Interfaces:
    com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>, com.atlassian.confluence.notifications.Participant<LikePayload>, com.atlassian.confluence.notifications.RecipientsProvider<LikePayload>

    public class CreateLikeEventRecipientProvider
    extends com.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
    implements com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>
    • Field Summary

      • Fields inherited from class com.atlassian.confluence.notifications.ParticipantTemplate

        payloadType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> batchUserBasedRecipientsFor​(String randomOriginatorUserKey, String id, String contentType)  
      protected Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> computeUserBasedRecipients​(com.atlassian.confluence.notifications.Notification<LikePayload> notification)  
      Iterable<com.atlassian.plugin.notifications.spi.UserRole> getUserRoles()  
      • Methods inherited from class com.atlassian.confluence.notifications.RecipientsProviderTemplate

        computeNonUserBasedRecipients, userBasedRecipientsFor
      • Methods inherited from class com.atlassian.confluence.notifications.NonUserBasedRecipientsProviderTemplate

        nonUserBasedRecipientsFor
      • Methods inherited from class com.atlassian.confluence.notifications.ParticipantTemplate

        getPayloadType, verifyPayloadMatches
      • Methods inherited from interface com.atlassian.confluence.notifications.Participant

        getPayloadType
      • Methods inherited from interface com.atlassian.confluence.notifications.RecipientsProvider

        nonUserBasedRecipientsFor, userBasedRecipientsFor
    • Method Detail

      • computeUserBasedRecipients

        protected Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> computeUserBasedRecipients​(com.atlassian.confluence.notifications.Notification<LikePayload> notification)
        Specified by:
        computeUserBasedRecipients in class com.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
      • getUserRoles

        public Iterable<com.atlassian.plugin.notifications.spi.UserRole> getUserRoles()
        Specified by:
        getUserRoles in interface com.atlassian.confluence.notifications.RecipientsProvider<LikePayload>
      • batchUserBasedRecipientsFor

        public Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> batchUserBasedRecipientsFor​(String randomOriginatorUserKey,
                                                                                                                           String id,
                                                                                                                           String contentType)
        Specified by:
        batchUserBasedRecipientsFor in interface com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>