Class ReceiveNotificationController

java.lang.Object
com.is.findyourplace.controller.gestioneUtenza.ReceiveNotificationController

@Controller public class ReceiveNotificationController extends Object
  • Constructor Details

    • ReceiveNotificationController

      public ReceiveNotificationController(ReceiveNotificationService receiveNotificationService, AccountService accountService)
      Costruttore del controller.
      Parameters:
      receiveNotificationService - ReceiveNotificationService
      accountService - AccountService
  • Method Details

    • getNotifiche

      @PostMapping("/retrieveNot") @ResponseBody public org.springframework.http.ResponseEntity<Map<String,Object>> getNotifiche()
      Pagina per recuperare le notifiche.
      Returns:
      200 OK / 401 UNAUTHORIZED
    • isReadNot

      @PostMapping("/isReadNot") @ResponseBody public org.springframework.http.ResponseEntity<Map<String,Object>> isReadNot(@RequestParam Long idNotifica)
      Pagina per impostare una notifica come letta.
      Parameters:
      idNotifica - Id della notifica.
      Returns:
      200 OK / 401 UNAUTHORIZED