Search in sources :

Example 1 with BulkQcEditTable

use of uk.ac.bbsrc.tgac.miso.webapp.util.BulkQcEditTable in project miso-lims by miso-lims.

the class QcController method editBulkFrom.

@PostMapping("/bulk/editFrom/{qcTarget}")
public ModelAndView editBulkFrom(@PathVariable("qcTarget") String qcTargetLabel, @RequestParam Map<String, String> form, ModelMap model) throws IOException {
    QcTarget qcTarget = getQcTarget(qcTargetLabel);
    String entityIds = getStringInput("entityIds", form, true);
    int addControls = getIntegerInput("addControls", form, true);
    return new BulkQcEditTable(qcTarget, qcService, instrumentService, addControls).display(entityIds, model);
}
Also used : QcTarget(uk.ac.bbsrc.tgac.miso.core.data.qc.QcTarget) BulkQcEditTable(uk.ac.bbsrc.tgac.miso.webapp.util.BulkQcEditTable) PostMapping(org.springframework.web.bind.annotation.PostMapping)

Aggregations

PostMapping (org.springframework.web.bind.annotation.PostMapping)1 QcTarget (uk.ac.bbsrc.tgac.miso.core.data.qc.QcTarget)1 BulkQcEditTable (uk.ac.bbsrc.tgac.miso.webapp.util.BulkQcEditTable)1