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 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

      @RolesAllowed("users") public javax.ws.rs.core.Response getNotifications(List<String> plugins, boolean badgeByPlugin, boolean includeHidden, boolean onlyUnread, int offset, int limit)
    • hideNotifications

      @RolesAllowed("users") public javax.ws.rs.core.Response hideNotifications(String notificationId)
    • updateNotifications

      @RolesAllowed("users") public javax.ws.rs.core.Response updateNotifications(List<String> plugins, String operation)
    • updateNotification

      @RolesAllowed("users") public javax.ws.rs.core.Response updateNotification(String operation, String notificationId)