* @return the {@link ResponseEntity} with status {@code 201 (Created)} and with body the new answerDTO, or with status {@code 400 (Bad Request)} if the answer has already an ID.
* @throws URISyntaxException if the Location URI syntax is incorrect.
...
...
@@ -74,7 +80,6 @@ public class AnswerResource {
/**
* {@code PUT /answers/:id} : Updates an existing answer.
*
* @param id the id of the answerDTO to save.
* @param answerDTO the answerDTO to update.
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and with body the updated answerDTO,
...
...
@@ -108,7 +113,6 @@ public class AnswerResource {
/**
* {@code PATCH /answers/:id} : Partial updates given fields of an existing answer, field will ignore if it is null
*
* @param id the id of the answerDTO to save.
* @param answerDTO the answerDTO to update.
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and with body the updated answerDTO,
...
...
@@ -144,7 +148,6 @@ public class AnswerResource {
/**
* {@code GET /answers} : get all the answers.
*
* @param filter the filter of the request.
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and the list of answers in body.
*/
...
...
@@ -160,7 +163,6 @@ public class AnswerResource {
/**
* {@code GET /answers/:id} : get the "id" answer.
*
* @param id the id of the answerDTO to retrieve.
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and with body the answerDTO, or with status {@code 404 (Not Found)}.
*/
...
...
@@ -173,7 +175,6 @@ public class AnswerResource {
/**
* {@code DELETE /answers/:id} : delete the "id" answer.
*
* @param id the id of the answerDTO to delete.
* @return the {@link ResponseEntity} with status {@code 204 (NO_CONTENT)}.
*/
...
...
@@ -189,19 +190,19 @@ public class AnswerResource {
/**
* Récupération de la preview des résultats du formulaire.
* REST controller for managing {@link com.unantes.orientactive.domain.Screen}.
*/
...
...
@@ -81,19 +78,20 @@ public class ScreenResource {
/**
* {@code POST /screens} : Create a new screen.
*
* @param screenDTO the screenDTO to create.
* @return the {@link ResponseEntity} with status {@code 201 (Created)} and with body the new screenDTO, or with status {@code 400 (Bad Request)} if the screen has already an ID.
* @throws URISyntaxException if the Location URI syntax is incorrect.