public class CreateLikeEventRecipientProvider extends com.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload> implements com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>
Constructor and Description |
---|
CreateLikeEventRecipientProvider(LikeNotificationManager likeNotificationManager,
ConfluenceAccessManager confluenceAccessManager,
PermissionManager permissionManager) |
Modifier and Type | Method and 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() |
computeNonUserBasedRecipients, userBasedRecipientsFor
nonUserBasedRecipientsFor
getPayloadType, verifyPayloadMatches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CreateLikeEventRecipientProvider(LikeNotificationManager likeNotificationManager, ConfluenceAccessManager confluenceAccessManager, PermissionManager permissionManager)
protected Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> computeUserBasedRecipients(com.atlassian.confluence.notifications.Notification<LikePayload> notification)
computeUserBasedRecipients
in class com.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
public Iterable<com.atlassian.plugin.notifications.spi.UserRole> getUserRoles()
getUserRoles
in interface com.atlassian.confluence.notifications.RecipientsProvider<LikePayload>
public Iterable<com.atlassian.plugin.notifications.api.medium.recipient.RoleRecipient> batchUserBasedRecipientsFor(String randomOriginatorUserKey, String id, String contentType)
batchUserBasedRecipientsFor
in interface com.atlassian.confluence.notifications.batch.service.BatchingRecipientsProvider<LikePayload>
Copyright © 2003–2018 Atlassian. All rights reserved.