Class CreateLikeEventRecipientProvider
- java.lang.Object
-
- com.atlassian.confluence.notifications.ParticipantTemplate<PAYLOAD>
-
- 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.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>
-
-
Constructor Summary
Constructors Constructor Description CreateLikeEventRecipientProvider(LikeNotificationManager likeNotificationManager, ConfluenceAccessManager confluenceAccessManager, PermissionManager permissionManager)
-
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
-
-
-
-
Constructor Detail
-
CreateLikeEventRecipientProvider
public CreateLikeEventRecipientProvider(LikeNotificationManager likeNotificationManager, ConfluenceAccessManager confluenceAccessManager, PermissionManager permissionManager)
-
-
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 classcom.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
-
getUserRoles
public Iterable<com.atlassian.plugin.notifications.spi.UserRole> getUserRoles()
- Specified by:
getUserRoles
in interfacecom.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 interfacecom.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>
-
-