| Package | Description |
|---|---|
| org.gcube.portal.databook.server | |
| org.gcube.portal.databook.shared |
| Modifier and Type | Method and Description |
|---|---|
Map<NotificationType,NotificationChannelType[]> |
DBCassandraAstyanaxImpl.getUserNotificationPreferences(String userid)
get the notification preferences map (enableor disable the channels to be used for notifying the user)
|
Map<NotificationType,NotificationChannelType[]> |
DatabookStore.getUserNotificationPreferences(String userid)
get the notification preferences map (enableor disable the channels to be used for notifying the user)
|
| Modifier and Type | Method and Description |
|---|---|
List<NotificationChannelType> |
DBCassandraAstyanaxImpl.getUserNotificationChannels(String userid,
NotificationType notificationType)
return the channels a user chose for being notified for a given notification type
|
List<NotificationChannelType> |
DatabookStore.getUserNotificationChannels(String userid,
NotificationType notificationType)
return the channels a user chose for being notified for a given notification type
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DBCassandraAstyanaxImpl.setUserNotificationPreferences(String userid,
Map<NotificationType,NotificationChannelType[]> enabledChannels)
set the notification preferences map (enable or disable the channels to be used for notifying the user)
|
boolean |
DatabookStore.setUserNotificationPreferences(String userid,
Map<NotificationType,NotificationChannelType[]> enabledChannels)
set the notification preferences map (enable or disable the channels to be used for notifying the user)
|
| Modifier and Type | Method and Description |
|---|---|
NotificationType |
Notification.getType() |
static NotificationType |
NotificationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
NotificationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Notification.setType(NotificationType type) |
| Constructor and Description |
|---|
Notification(String key,
NotificationType type,
String userid,
String subjectid,
Date time,
String uri,
String description,
boolean read,
String senderid,
String senderFullName,
String senderThumbnail) |
Notification(String key,
NotificationType type,
String userid,
String subjectid,
Date time,
String uri,
String description,
boolean read,
String senderid,
String senderFullName,
String senderThumbnail,
String commentKey) |
Copyright © 2019. All Rights Reserved.