Search in sources :

Example 1 with BulkQcAddTable

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

the class QcController method addBulk.

@PostMapping("/bulk/addFrom/{qcTarget}")
public ModelAndView addBulk(@PathVariable("qcTarget") String qcTargetLabel, @RequestParam Map<String, String> form, ModelMap model) throws IOException {
    QcTarget qcTarget = getQcTarget(qcTargetLabel);
    String entityIds = getStringInput("entityIds", form, true);
    int copies = getIntegerInput("copies", form, true);
    int controls = getIntegerInput("controls", form, true);
    return new BulkQcAddTable(qcTarget, qcService, instrumentService, copies, controls).display(entityIds, model);
}
Also used : QcTarget(uk.ac.bbsrc.tgac.miso.core.data.qc.QcTarget) BulkQcAddTable(uk.ac.bbsrc.tgac.miso.webapp.util.BulkQcAddTable) 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 BulkQcAddTable (uk.ac.bbsrc.tgac.miso.webapp.util.BulkQcAddTable)1