Class NotificationClient
- 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 NotificationClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<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 seeWorkspaceEventType-
Methods inherited from class org.gcube.social_networking.social_networking_client_library.BaseClient
getServiceEndpoint
-
-
-
-
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 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
-
-