Class NotificationClient
java.lang.Object
org.gcube.social_networking.social_networking_client_library.BaseClient
org.gcube.social_networking.social_networking_client_library.NotificationClient
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 -
Method Summary
Modifier and TypeMethodDescriptionList<org.gcube.portal.databook.shared.Notification>getNotifications(int from, int quantity) Get range notificationsvoidsendCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent event) Notify a catalogue event, types availeble seeCatalogueEventTypevoidsendJobNotification(org.gcube.social_networking.socialnetworking.model.beans.JobNotificationBean notification) Notify job statusvoidsendWorkspaceEvent(org.gcube.social_networking.socialnetworking.model.beans.workspace.WorkspaceEvent event) Notify a catalogue event, types available seeWorkspaceEventTypeMethods inherited from class org.gcube.social_networking.social_networking_client_library.BaseClient
getServiceEndpoint
-
Constructor Details
-
NotificationClient
- Throws:
Exception
-
-
Method Details
-
getNotifications
Get range notifications- Parameters:
from- greater or equal to onequantity-- 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 seeWorkspaceEventType- Parameters:
event- an instance ofWorkspaceEvent
-
sendCatalogueEvent
public void sendCatalogueEvent(org.gcube.social_networking.socialnetworking.model.beans.catalogue.CatalogueEvent event) Notify a catalogue event, types availeble seeCatalogueEventType- Parameters:
event- an instance ofCatalogueEvent
-