Class NotificationRestService


  • @Path("/rest/notificationstore/v3")
    public class NotificationRestService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getListNotification​(java.lang.String strIdDemand, java.lang.String strIdDemandType, java.lang.String strCustomerId, java.lang.String strNotificationType)
      Gets list of notification
      javax.ws.rs.core.Response getNotificationTypes()
      Gets list of notification types
      javax.ws.rs.core.Response notification​(java.lang.String strJson)
      process the notification
      javax.ws.rs.core.Response notificationEvent​(java.lang.String strJson)
      store the notification event
      javax.ws.rs.core.Response reassignDemandsAndNotifications​(java.lang.String strJson)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotificationRestService

        public NotificationRestService()
    • Method Detail

      • notification

        @POST
        @Path("/notification")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response notification​(java.lang.String strJson)
        process the notification
        Parameters:
        strJson - The JSON flow
        Returns:
        The response
      • notificationEvent

        @POST
        @Path("/notificationEvent")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response notificationEvent​(java.lang.String strJson)
        store the notification event
        Parameters:
        strJson - The JSON flow
        Returns:
        The response
      • getListNotification

        @GET
        @Path("/notification/list")
        @Produces("application/json")
        public javax.ws.rs.core.Response getListNotification​(@QueryParam("idDemand")
                                                             java.lang.String strIdDemand,
                                                             @QueryParam("idDemandType")
                                                             java.lang.String strIdDemandType,
                                                             @QueryParam("customerId")
                                                             java.lang.String strCustomerId,
                                                             @QueryParam("notificationType")
                                                             java.lang.String strNotificationType)
        Gets list of notification
        Parameters:
        strIdDemand -
      • getNotificationTypes

        @GET
        @Path("/notificationnotificationType")
        @Produces("application/json")
        public javax.ws.rs.core.Response getNotificationTypes()
        Gets list of notification types
        Returns:
        list of notification types
      • reassignDemandsAndNotifications

        @PUT
        @Path("/notification/reassign")
        @Produces("application/json")
        public javax.ws.rs.core.Response reassignDemandsAndNotifications​(java.lang.String strJson)