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

    • Method Detail

      • 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