PersonneController.java
1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package etunicorn;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Date;
/**
* Created by geoffrey on 28/01/17.
*/
@RestController
public class PersonneController implements etunicorn.generated.PersonneController {
@Override
public ResponseEntity<?> getPersonne() {
return null;
}
@Override
public ResponseEntity<?> updatePersonne(@RequestParam(required = false) String carte, @RequestParam(required = false) Date naissance, @RequestParam(required = false) String login, @RequestParam(required = false, defaultValue = "etudiant") String role) {
return null;
}
@Override
public ResponseEntity<?> getPersonneById(@PathVariable String idPersonne) {
return null;
}
@Override
public ResponseEntity<?> updatePersonneById(@PathVariable String idPersonne, @RequestParam(required = false) String carte, @RequestParam(required = false) Date naissance, @RequestParam(required = false) String login, @RequestParam(required = false) String role) {
return null;
}
@Override
public ResponseEntity<?> deletePersonneById(@PathVariable String idPersonne) {
return null;
}
}