Uses of Class
org.silverpeas.core.webapi.notification.user.InboxUserNotificationEntity
-
Packages that use InboxUserNotificationEntity Package Description org.silverpeas.core.webapi.notification.user -
-
Uses of InboxUserNotificationEntity in org.silverpeas.core.webapi.notification.user
Methods in org.silverpeas.core.webapi.notification.user that return InboxUserNotificationEntity Modifier and Type Method Description InboxUserNotificationEntity
InboxUserNotificationResource. asWebEntity(SILVERMAILMessage notification)
Converts the notification into its corresponding web entity.
If the specified notification isn't defined, then an HTTP 404 error is sent back instead of the entity representation of the notification.
If the specified notification does not concern the current user, then an HTTP 403 error is sent back.protected InboxUserNotificationEntity
InboxUserNotificationEntity. decorate(SILVERMAILMessage notification)
static InboxUserNotificationEntity
InboxUserNotificationEntity. from(SILVERMAILMessage notification)
InboxUserNotificationEntity
InboxUserNotificationResource. get(long id)
Gets the JSON representation of notification.InboxUserNotificationEntity
InboxUserNotificationResource. markAsRead(long id)
Gets the JSON representation of notification.InboxUserNotificationEntity
InboxUserNotificationEntity. withMarkAsReadURI(URI uri)
Sets a URI to this entity.InboxUserNotificationEntity
InboxUserNotificationEntity. withURI(URI uri)
Sets a URI to this entity.Methods in org.silverpeas.core.webapi.notification.user that return types with arguments of type InboxUserNotificationEntity Modifier and Type Method Description List<InboxUserNotificationEntity>
InboxUserNotificationResource. asWebEntities(Collection<SILVERMAILMessage> notifications)
Converts the list of notification into list of notification web entities.Method parameters in org.silverpeas.core.webapi.notification.user with type arguments of type InboxUserNotificationEntity Modifier and Type Method Description javax.ws.rs.core.Response
InboxUserNotificationResource. delete(List<InboxUserNotificationEntity> entities)
Deletes aime notifications.javax.ws.rs.core.Response
InboxUserNotificationResource. markAsRead(List<InboxUserNotificationEntity> entities)
Deletes aime notifications.
-