| 20 | 1. Java servlet class/file `SpecimenTubeServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`FindStoragePositions`" to find three storage locations in separate boxes for each specimen tube, for the specimen itself (except the first tube), the DNA extract, and the RNA extract.[[BR]]b. Protected method `doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`CreateSpecimenTubes`" to create a DNA and RNA extract for each specimen, and set storage position to the ones allocated earlier on.[[BR]]c. Private method `BioWell fetchBioWell(DbControl dc, JSONObject jsonSpec)` updated to call new private method `BioWell fetchBioWell(DbControl dc, JSONObject jsonSpec, String boxType)` with value for argument `boxType` set to `null`.[[BR]]d. New private method `BioWell fetchBioWell(DbControl dc, JSONObject jsonSpec, String boxType)` added. It fetches the `BioWell` specified in JSONObject `jsonSpec` for the storage box specified by argument `boxType`, with values `null` (default, specimen), "`DNA`", or "`RNA`". |