Class Notifications
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.resource.Notifications
-
public class Notifications extends Object
Functions for managing notifications.
-
-
Constructor Summary
Constructors Constructor Description Notifications(NetworkConnectionManager connection, APISession apiSession)
-
Method Summary
-
-
-
Constructor Detail
-
Notifications
public Notifications(NetworkConnectionManager connection, APISession apiSession)
-
-
Method Detail
-
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
public BulkOperationResultJson markNotificationsV30(MarkNotificationJson markNotificationJson)
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
-
-
-