Class ReceiveNotificationController
java.lang.Object
com.is.findyourplace.controller.gestioneUtenza.ReceiveNotificationController
-
Constructor Summary
ConstructorsConstructorDescriptionReceiveNotificationController(ReceiveNotificationService receiveNotificationService, AccountService accountService) Costruttore del controller. -
Method Summary
-
Constructor Details
-
ReceiveNotificationController
public ReceiveNotificationController(ReceiveNotificationService receiveNotificationService, AccountService accountService) Costruttore del controller.- Parameters:
receiveNotificationService- ReceiveNotificationServiceaccountService- 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
-