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 Summary
ConstructorsConstructorDescriptionCreateLikeEventRecipientProvider
(LikeNotificationManager likeNotificationManager, ConfluenceAccessManager confluenceAccessManager, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionIterable<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>
Methods inherited from class com.atlassian.confluence.notifications.RecipientsProviderTemplate
computeNonUserBasedRecipients, userBasedRecipientsFor
Methods inherited from class com.atlassian.confluence.notifications.NonUserBasedRecipientsProviderTemplate
getPayloadType, nonUserBasedRecipientsFor, 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.RecipientsProvider
getPayloadType, nonUserBasedRecipientsFor, userBasedRecipientsFor
-
Constructor Details
-
CreateLikeEventRecipientProvider
public CreateLikeEventRecipientProvider(LikeNotificationManager likeNotificationManager, ConfluenceAccessManager confluenceAccessManager, PermissionManager permissionManager)
-
-
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 classcom.atlassian.confluence.notifications.RecipientsProviderTemplate<LikePayload>
-
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>
-