public class NotificationsResourceV1
extends java.lang.Object
| Constructor and Description |
|---|
NotificationsResourceV1(org.tiogasolutions.notify.kernel.execution.ExecutionManager executionManager,
org.tiogasolutions.notify.kernel.notification.NotificationKernel notificationKernel) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteNotification(java.lang.String notificationId) |
javax.ws.rs.core.Response |
getAttachment(java.lang.String notificationId,
java.lang.String attachmentName) |
javax.ws.rs.core.Response |
getExceptionInfo(java.lang.String notificationId) |
javax.ws.rs.core.Response |
getNotification(java.lang.String notificationId) |
org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.notification.Notification> |
getNotifications(int offset,
int limit,
java.lang.String notificationId,
java.lang.String topic,
java.lang.String summary,
java.lang.String traitKey,
java.lang.String traitValue) |
public NotificationsResourceV1(org.tiogasolutions.notify.kernel.execution.ExecutionManager executionManager,
org.tiogasolutions.notify.kernel.notification.NotificationKernel notificationKernel)
@GET
@Produces(value="application/json")
public org.tiogasolutions.dev.domain.query.QueryResult<org.tiogasolutions.notify.pub.notification.Notification> getNotifications(@QueryParam(value="offset")
int offset,
@QueryParam(value="limit")
int limit,
@QueryParam(value="notificationId")
java.lang.String notificationId,
@QueryParam(value="topic")
java.lang.String topic,
@QueryParam(value="summary")
java.lang.String summary,
@QueryParam(value="traitKey")
java.lang.String traitKey,
@QueryParam(value="traitValue")
java.lang.String traitValue)
@DELETE
@Path(value="/{notificationId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteNotification(@PathParam(value="notificationId")
java.lang.String notificationId)
@GET
@Path(value="/{notificationId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getNotification(@PathParam(value="notificationId")
java.lang.String notificationId)
@GET
@Path(value="/{notificationId}/exception-info")
@Produces(value="application/json")
public javax.ws.rs.core.Response getExceptionInfo(@PathParam(value="notificationId")
java.lang.String notificationId)
@GET
@Path(value="/{notificationId}/attachments/{attachmentName}")
public javax.ws.rs.core.Response getAttachment(@PathParam(value="notificationId")
java.lang.String notificationId,
@PathParam(value="attachmentName")
java.lang.String attachmentName)
throws java.io.IOException
java.io.IOException