java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.CohortController

@Controller public class CohortController extends Object
  • Constructor Details

    • CohortController

      public CohortController(Presentation presentation)
  • Method Details

    • getCohort

      @PostMapping("/svm/cohort/participant") @ResponseBody public Object getCohort(@RequestBody @Nonnull CohortRequest request)
    • getCohortReport

      @PostMapping("/svm/cohort/report") @ResponseBody public Object getCohortReport(@RequestBody @Nonnull CohortRequest request)
    • getCohortTotalParticipant

      @PostMapping(value="/svm/cohort/totalParticipant.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortTotalParticipant(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension)
    • getCohortFemalePercentage

      @PostMapping(value="/svm/cohort/femalePercentage.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortFemalePercentage(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension)
    • getCohortAverageAge

      @PostMapping(value="/svm/cohort/average-age.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortAverageAge(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension)
    • getCohortCgmCount

      @PostMapping(value="/svm/cohort/cgm-count.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortCgmCount(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension)
    • cohort

      @GetMapping("/cohort") public String cohort()
    • cohortFinal

      @GetMapping("/cohort/info") public String cohortFinal(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request)