Package org.cswteams.ms3.rest
Class RichiestaRimozioneDaTurnoRestEndpoint
java.lang.Object
org.cswteams.ms3.rest.RichiestaRimozioneDaTurnoRestEndpoint
@RestController
@RequestMapping("/concrete-shifts/retirement-request/")
public class RichiestaRimozioneDaTurnoRestEndpoint
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> leggiRichiesteRimozioneDaTurnoPerUtente(Long idUtente) org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> uploadFile(Long idRequest, org.springframework.web.multipart.MultipartFile attachment)
-
Constructor Details
-
RichiestaRimozioneDaTurnoRestEndpoint
public RichiestaRimozioneDaTurnoRestEndpoint()
-
-
Method Details
-
creaRichiestaRimozioneDaTurno
@RequestMapping(method=POST) public org.springframework.http.ResponseEntity<?> creaRichiestaRimozioneDaTurno(@RequestBody RequestRemovalFromConcreteShiftDTO requestDTO) -
leggiRichiesteRimozioneDaTurno
@RequestMapping(method=GET) public org.springframework.http.ResponseEntity<?> leggiRichiesteRimozioneDaTurno() -
leggiRichiesteRimozioneDaTurnoPendenti
@RequestMapping(method=GET, path="/pending") public org.springframework.http.ResponseEntity<?> leggiRichiesteRimozioneDaTurnoPendenti() -
leggiRichiesteRimozioneDaTurnoPerUtente
@RequestMapping(method=GET, path="/user/{idUtente}") public org.springframework.http.ResponseEntity<?> leggiRichiesteRimozioneDaTurnoPerUtente(@PathVariable Long idUtente) -
risolviRichiestaRimozioneDaTurno
@RequestMapping(method=POST, path="/resolve") public org.springframework.http.ResponseEntity<?> risolviRichiestaRimozioneDaTurno(@RequestBody RequestRemovalFromConcreteShiftDTO requestDTO) -
uploadFile
@RequestMapping(method=POST, path="/{idRequest}/uploadFile") public org.springframework.http.ResponseEntity<?> uploadFile(@PathVariable Long idRequest, @RequestParam("attachment") org.springframework.web.multipart.MultipartFile attachment)
-