Class Notifications
java.lang.Object
com.blackberry.workspaces.sdk.api.resource.Notifications
public class Notifications extends Object
Functions for managing notifications.
-
Constructor Summary
Constructors Constructor Description Notifications(NetworkConnectionManager connection, APISession apiSession)
-
Method Summary
-
Constructor Details
-
Method Details
-
deleteEmbeddedNotificationsV30
public BulkOperationResultJson deleteEmbeddedNotificationsV30(DeleteEmbeddedNotificationJson deleteEmbeddedNotificationJson)- Parameters:
deleteEmbeddedNotificationJson
-request
-response
-
-
deleteNotificationsV30
public BulkOperationResultJson deleteNotificationsV30(DeleteNotificationJson deleteNotificationJson)Deletes the user's notifications.- Parameters:
deleteNotificationJson
- List of user uuids- Returns:
- List which indicates whether all requests were successful or, if not, a list of errors.
-
getNotificationsV30
public PagingItemListJson<NotificationJson> getNotificationsV30(ListNotificationsJson listNotificationsJson)Lists the user's notifications.- Parameters:
listNotificationsJson
- Formatting details of the returned list- Returns:
- List of NotificationJson
-
getTotalEmbeddedNotificationsV30
public TotalEmbeddedNotificationsResponseJson getTotalEmbeddedNotificationsV30(TotalEmbeddedNotificationsRequestJson totalEmbeddedNotificationsRequestJson) -
getUserDeviceNotificationSettingsListV30
public UserDeviceNotificationTypeSettingsJson getUserDeviceNotificationSettingsListV30(DeviceTypeJson deviceTypeJson)- Parameters:
markEmbeddedNotificationJson
-request
-response
-
-
listAllEmbeddedNotificationsListV30
public ItemListJson<EmbeddedNotificationJson> listAllEmbeddedNotificationsListV30(ListAllNotificationsJson listAllNotificationsJson) -
listEmbeddedSummaryNotificationsListV30
public ItemListJson<SummaryEmbeddedNotificationJson> listEmbeddedSummaryNotificationsListV30(ListSummaryEmbeddedNotificationJson listSummaryEmbeddedNotificationJson) -
markEmbeddedNotificationsV30
public BulkOperationResultJson markEmbeddedNotificationsV30(MarkEmbeddedNotificationJson markEmbeddedNotificationJson)- Parameters:
markEmbeddedNotificationJson
-request
-response
-
-
markNotificationsV30
Marks the user's notifications.- Parameters:
markNotificationJson
- List of user uuids- Returns:
- List which indicates whether all requests were successful or, if not, a list of errors.
-
setHideUserNotificationsV30
public BulkOperationResultJson setHideUserNotificationsV30(HideNotificationJson hideNotificationJson)- Parameters:
markEmbeddedNotificationJson
-request
-response
-
-
setUserDeviceNotificationSettingsV30
public BulkOperationResultJson setUserDeviceNotificationSettingsV30(UserDeviceNotificationTypeSettingsJson userDeviceNotificationTypeSettingsJson)- Parameters:
markEmbeddedNotificationJson
-request
-response
-
-
setUserWorkspaceNotificationSettingsV30
public BulkOperationResultJson setUserWorkspaceNotificationSettingsV30(ListUserWorkspaceNotificationsSettingsJson listUserWorkspaceNotificationsSettingsJson)- Parameters:
markEmbeddedNotificationJson
-request
-response
-
-