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, removeOperationExtension
public AbstractNotificationOperationService()
public SocialComponent markAsRead(SlingHttpServletRequest request, ResourceResolverFactory rrf) throws OperationException
NotificationOperationService
Status.Read
markAsRead
in interface NotificationOperationService
request
- the client requestrrf
- ResourceResolverFactorySocialComponent
OperationException
- if there is an error occurspublic SocialComponent markAllRead(SlingHttpServletRequest request, ResourceResolverFactory rrf) throws OperationException
NotificationOperationService
NotificationCollectionOperationService.markAllRead
nowmarkAllRead
in interface NotificationOperationService
OperationException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"