T - is a OperationExtension that will be used as hooks by the extending class.U - is a Operation that is being provided by the extending class.public abstract class AbstractNotificationOperationService<T extends NotificationOperationsExtension,U extends NotificationOperationsExtension.NotificationOperations> extends AbstractOperationService<T,U,SocialComponent> implements NotificationOperationService
| Constructor and Description |
|---|
AbstractNotificationOperationService() |
| Modifier and Type | Method and Description |
|---|---|
SocialComponent |
markAllRead(SlingHttpServletRequest request,
ResourceResolverFactory rrf)
Please use
NotificationCollectionOperationService.markAllRead now |
SocialComponent |
markAsRead(SlingHttpServletRequest request,
ResourceResolverFactory rrf)
mark a notification status to be
Status.Read |
addOperationExtension, getInheritedOperationExtensionManager, performAfterActions, performBeforeActions, removeOperationExtensionpublic AbstractNotificationOperationService()
public SocialComponent markAsRead(SlingHttpServletRequest request, ResourceResolverFactory rrf) throws OperationException
NotificationOperationServiceStatus.ReadmarkAsRead in interface NotificationOperationServicerequest - the client requestrrf - ResourceResolverFactorySocialComponentOperationException - if there is an error occurspublic SocialComponent markAllRead(@Nonnull SlingHttpServletRequest request, @Nonnull ResourceResolverFactory rrf) throws OperationException
NotificationOperationServiceNotificationCollectionOperationService.markAllRead nowmarkAllRead in interface NotificationOperationServiceOperationExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved