Changes between Version 4 and Version 5 of Ticket #768, comment 10


Ignore:
Timestamp:
Apr 28, 2015, 3:30:54 PM (10 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #768, comment 10

    v4 v5  
    1616 * The change motivates updates of layout and code notation, in addition to updates in functionality:[[BR]]a. Instead of a single storage location for a specimen, now up to three needs to be specified. In order to save space and make the layout more readable, a storage location will be specified on a single line, instead of two, as was used previously (one line for box specification, and one for position in the box). Error messages for both box and position choices, therefore now has to be written in the same space.[[BR]]b. Previously, the only well position of interest for a the RNA extract for a specimen, was related to the position on the !NanoDrop plate. In order to avoid confusion, JSON item `item.rna.well` is renamed `item.rna.nanoDropWell` in scripts.
    1717
     18Servlets:
     19
     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`".