Skip to content
Snippets Groups Projects
Commit d2ad3eab authored by Tom Käsler's avatar Tom Käsler
Browse files

add bool vars to toggle export for feedbackquestions and answerstatistics

parent dd749370
1 merge request!16Refac export
...@@ -272,7 +272,9 @@ public class SessionController extends PaginationController { ...@@ -272,7 +272,9 @@ public class SessionController extends PaginationController {
@ApiOperation(value = "export sessions", nickname = "exportSession") @ApiOperation(value = "export sessions", nickname = "exportSession")
@RequestMapping(value = "/export", method = RequestMethod.GET) @RequestMapping(value = "/export", method = RequestMethod.GET)
public List<ImportExportSession> exportSession( public List<ImportExportSession> exportSession(
@ApiParam(value = "comma seperated list of sessionkeys", required = true) @RequestParam(value ="sessionkeys", defaultValue = "") final String sessionkeys, @ApiParam(value = "comma seperated list of sessionkeys", required = true) @RequestParam(value = "sessionkeys", defaultValue = "") final String sessionkeys,
@ApiParam(value = "wether statistics shall be exported", required = true) @RequestParam(value = "withAnswerStatistics", defaultValue = "false") final Boolean withAnswerStatistics,
@ApiParam(value = "wether interposed questions shall be exported", required = true) @RequestParam(value = "withFeedbackQuestions", defaultValue = "false") final Boolean withFeedbackQuestions,
@ApiParam(value = "http servlet response", required = true) final HttpServletResponse response @ApiParam(value = "http servlet response", required = true) final HttpServletResponse response
) { ) {
List<ImportExportSession> sessions = new ArrayList<ImportExportSession>(); List<ImportExportSession> sessions = new ArrayList<ImportExportSession>();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment