Changes between Version 1 and Version 2 of Ticket #759, comment 36


Ignore:
Timestamp:
Apr 2, 2015, 2:09:32 PM (8 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #759, comment 36

    v1 v2  
    66
    77 1. Java servlet class/file `ExtractionServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetStartPlates`" to include extraction date in JSON response. The extraction date is set equal to the plate event date.[[BR]]b. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetSourceItemListFromStartPlate`" to use annotation snapshot manager to retrieve some annotations, in order to increase performance. If new parameter "`includeSpecimenExtracts`" is set to `true`, data for RNA and DNA extracts for a specimen will be retrieved, and included in the JSON repsonse. Private methods `void loadSpecimenInfo(DbControl dc, SpecimenTube sp)`, `void loadRnaInfo(DbControl dc, Rna rna)`, and `void loadDnaInfo(DbControl dc, Dna dna)` will be called to retrieve annotation data.[[BR]]c. Protected method `doGet(HttpServletRequest req, HttpServletResponse resp)` updated with new command "`GetDna`" to find a DNA extract by name.[[BR]]d. New private method `void loadSpecimenInfo(DbControl dc, SpecimenTube sp)` added. It loads annotations for the input specimen tube.[[BR]]e. New private method `void loadRnaInfo(DbControl dc, Rna rna)` added. It loads annotations for the input RNA item.[[BR]]f. Private method `void loadDnaInfo(DbControl dc, Dna dna)` updated by loading more annotations for the input DNA.
    8  2. New JSP file `extraction_formcopy.jsp` in `resources/sampleproc/` added.
    9  3. New Javascript file `extraction_formcopy.js` in `resources/sampleproc/` added. It relies on the new commands and updated functionality of existing commands in java servlet `ExtractionServlet` to construct a selection menu in step 1 containing all start plates; in step 2 to retrieve data for the plate and, if processed, lot no.s from the first created DNA extract for a specimen connected to the plate; and in step 3 to retieve measurement data for DNA and RNA extracts connected to the plate. Many of the functions are updated versions of functions of the same name in Javascript file `extraction_registration.js` in `resources/sampleproc/`. However, the new file lacks any registration functionality.
     8 2. JSP file `index.jsp` in `resources/` updated with new entry "`Lab tracking sheet/report copy`" in the DNA/RNA extraction wizards section. The new entry is linked to new JSP file `extraction_formcopy.jsp` in `resources/sampleproc/`.
     9 3. New JSP file `extraction_formcopy.jsp` in `resources/sampleproc/` added. It is connected to new Javascript file `extraction_formcopy.js` in `resources/sampleproc/`.
     10 4. New Javascript file `extraction_formcopy.js` in `resources/sampleproc/` added. It relies on the new commands and updated functionality of existing commands in java servlet `ExtractionServlet` to construct a selection menu in step 1 containing all start plates; in step 2 to retrieve data for the plate and, if processed, lot no.s from the first created DNA extract for a specimen connected to the plate; and in step 3 to retieve measurement data for DNA and RNA extracts connected to the plate. Many of the functions are updated versions of functions of the same name in Javascript file `extraction_registration.js` in `resources/sampleproc/`. However, the new file lacks any registration functionality.