| Package | Description |
|---|---|
| org.gcube.portal.databook.server | |
| org.gcube.portal.databook.shared |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<NotificationType,NotificationChannelType[]> |
DatabookStore.getUserNotificationPreferences(java.lang.String userid)
get the notification preferences map (enableor disable the channels to be used for notifying the user)
|
java.util.Map<NotificationType,NotificationChannelType[]> |
DBCassandraAstyanaxImpl.getUserNotificationPreferences(java.lang.String userid)
get the notification preferences map (enableor disable the channels to be used for notifying the user)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NotificationChannelType> |
DatabookStore.getUserNotificationChannels(java.lang.String userid,
NotificationType notificationType)
return the channels a user chose for being notified for a given notification type
|
java.util.List<NotificationChannelType> |
DBCassandraAstyanaxImpl.getUserNotificationChannels(java.lang.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 |
DatabookStore.setUserNotificationPreferences(java.lang.String userid,
java.util.Map<NotificationType,NotificationChannelType[]> enabledChannels)
set the notification preferences map (enable or disable the channels to be used for notifying the user)
|
boolean |
DBCassandraAstyanaxImpl.setUserNotificationPreferences(java.lang.String userid,
java.util.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(java.lang.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(java.lang.String key,
NotificationType type,
java.lang.String userid,
java.lang.String subjectid,
java.util.Date time,
java.lang.String uri,
java.lang.String description,
boolean read,
java.lang.String senderid,
java.lang.String senderFullName,
java.lang.String senderThumbnail) |
Notification(java.lang.String key,
NotificationType type,
java.lang.String userid,
java.lang.String subjectid,
java.util.Date time,
java.lang.String uri,
java.lang.String description,
boolean read,
java.lang.String senderid,
java.lang.String senderFullName,
java.lang.String senderThumbnail,
java.lang.String commentKey) |
Copyright © 2022. All rights reserved.