java.lang.Object
org.gcube.social_networking.social_networking_client_library.BaseClient
org.gcube.social_networking.social_networking_client_library.NotificationClient

public class NotificationClient extends BaseClient
Notifications client.
Author:
Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it), Ahmed Ibrahim at ISTI-CNR (ahmed.ibrahim@isti.cnr.it)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.gcube.portal.databook.shared.Notification>
    getNotifications(int from, int quantity)
    Get range notifications
    void
    sendCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent event)
    Notify a catalogue event, types availeble see CatalogueEventType
    void
    sendJobNotification(org.gcube.social_networking.socialnetworking.model.beans.JobNotificationBean notification)
    Notify job status
    void
    sendWorkspaceEvent(org.gcube.social_networking.socialnetworking.model.beans.workspace.WorkspaceEvent event)
    Notify a catalogue event, types available see WorkspaceEventType

    Methods inherited from class org.gcube.social_networking.social_networking_client_library.BaseClient

    getServiceEndpoint

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getNotifications

      public List<org.gcube.portal.databook.shared.Notification> getNotifications(int from, int quantity)
      Get range notifications
      Parameters:
      from - greater or equal to one
      quantity -
      Returns:
    • sendJobNotification

      public void sendJobNotification(org.gcube.social_networking.socialnetworking.model.beans.JobNotificationBean notification)
      Notify job status
      Parameters:
      notification -
    • sendWorkspaceEvent

      public void sendWorkspaceEvent(org.gcube.social_networking.socialnetworking.model.beans.workspace.WorkspaceEvent event)
      Notify a catalogue event, types available see WorkspaceEventType
      Parameters:
      event - an instance of WorkspaceEvent
    • sendCatalogueEvent

      public void sendCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent event)
      Notify a catalogue event, types availeble see CatalogueEventType
      Parameters:
      event - an instance of CatalogueEvent