Class CreateLikeEventRecipientProvider

java.lang.Object
com.atlassian.confluence.notifications.NonUserBasedRecipientsProviderTemplate<PAYLOAD>
com.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
com.atlassian.confluence.plugins.like.notifications.CreateLikeEventRecipientProvider
All Implemented Interfaces:
com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<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>
  • Constructor Details

  • Method Details

    • 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>