Class WebNotificationRestService
java.lang.Object
io.meeds.social.notification.rest.WebNotificationRestService
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class WebNotificationRestService
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer
Provides REST Services in order to perform all read/write operations related
to web notifications.
-
Constructor Summary
ConstructorsConstructorDescriptionWebNotificationRestService(org.exoplatform.commons.api.notification.service.WebNotificationService webNftService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetNotifications(List<String> plugins, boolean badgeByPlugin, boolean includeHidden, boolean onlyUnread, int offset, int limit) javax.ws.rs.core.ResponsehideNotifications(String notificationId) javax.ws.rs.core.ResponseupdateNotification(String operation, String notificationId) javax.ws.rs.core.ResponseupdateNotifications(List<String> plugins, String operation)
-
Constructor Details
-
WebNotificationRestService
public WebNotificationRestService(org.exoplatform.commons.api.notification.service.WebNotificationService webNftService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService)
-
-
Method Details
-
getNotifications
-
hideNotifications
-
updateNotifications
-
updateNotification
-