Class NotificationController

Object
NotificationController

@Controller public class NotificationController extends Object
  • Constructor Details

    • NotificationController

      public NotificationController()
  • Method Details

    • getNotificacoesPadrao

      @RequestMapping(value="/api/notifications", method=GET, headers="Accept=application/json;charset=UTF-8", produces="application/json;charset=UTF-8") @ResponseBody public List<NotificationDTO> getNotificacoesPadrao(@RequestParam(value="createdAfter",required=false) Long createdAfter, @RequestParam(value="limit",required=false) Integer limit)
    • approve

      @RequestMapping(value="/api/notifications/approve/{id}", method=PUT) @ResponseBody public void approve(@PathVariable("id") Long notificationId)
    • reprove

      @RequestMapping(value="/api/notifications/disapprove/{id}", method=PUT) @ResponseBody public void reprove(@PathVariable("id") Long notificationId)
    • finish

      @RequestMapping(value="/api/notifications/finish/{id}", method=PUT) @ResponseBody public void finish(@PathVariable("id") Long notificationId)