@Path(value="notifications") public interface NotificationService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
void |
actionJob(JobAction action)
Executes an action on the notification job.
|
javax.ws.rs.core.Response |
create(NotificationTO notificationTO)
Creates a new notification.
|
void |
delete(String key)
Deletes the notification matching the given key.
|
JobTO |
getJob()
Returns details about notification job.
|
List<NotificationTO> |
list()
Returns a list of all notifications.
|
NotificationTO |
read(String key)
Returns notification with matching key.
|
void |
update(NotificationTO notificationTO)
Updates the notification matching the given key.
|
@GET
@Path(value="{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
NotificationTO read(@NotNull @PathParam(value="key")
String key)
key - key of notification to be read@GET
@Produces(value={"application/json","application/yaml","application/xml"})
List<NotificationTO> list()
@POST
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
javax.ws.rs.core.Response create(@NotNull
NotificationTO notificationTO)
notificationTO - Creates a new notification.@PUT
@Path(value="{key}")
@Consumes(value={"application/json","application/yaml","application/xml"})
@Produces(value={"application/json","application/yaml","application/xml"})
void update(@NotNull
NotificationTO notificationTO)
notificationTO - notification to be stored@DELETE
@Path(value="{key}")
@Produces(value={"application/json","application/yaml","application/xml"})
void delete(@NotNull @PathParam(value="key")
String key)
key - key for notification to be deleted@GET
@Path(value="job")
@Produces(value={"application/json","application/yaml","application/xml"})
JobTO getJob()
@POST
@Path(value="job")
@Produces(value={"application/json","application/yaml","application/xml"})
void actionJob(@QueryParam(value="action")
JobAction action)
action - action to executeCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.