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; } }