Changes between Version 1 and Version 2 of Ticket #801, comment 99


Ignore:
Timestamp:
Nov 25, 2015, 8:30:56 AM (7 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 99

    v1 v2  
    88 2. Javascript file `select_dna_for_start_plate.js` in `resources/´libprep/` updated:[[BR]]a. Function `kitPlatesInfoLoaded(response)` updated by adding the id for a kit to the `jsonKit` JSONObject with key "`id`".[[BR]]b. Function `nextPlateNameLoaded(response)` updated by retrieving the library preparation kit id from the `jsonKit` JSONObject, and storing in new hidden input field with name "`hiddenLibPrepKitId`".[[BR]]c. Function `submit()` updated by retrieving the selected library preparation kit id from new hidden input field with name "`hiddenLibPrepKitId`", and adding it to the submitted plate info with JSON key "`kitId`".[[BR]]d. Function `kitUpdateSubmissionResults(response)` is removed, since it is never called.
    99 3. Data access object class/file `Annotationtype.java` in `src/net/sf/basedb/meludi/dao/` updated:[[BR]]a. Bioplate string annotation type for library preparation kit name, `LIB_PREP_KIT_NAME`, changed to `BATCH_LIB_PREP_KIT_NAME`, to clearly indicate in the name, that the annotation is for a batch of items (in this case on a bioplate).[[BR]]b. New integer bioplate annotation type `BATCH_LIB_PREP_KIT_ID` defined.
    10  4. Java servlet class/file `InstallServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` to include the new bioplate annotation types for library preparation kit id.
    11  5. Java servlet class/file `DnaServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` for command "`CreateDnaOrLibPlate`" to retrieve the library preparation kit id from submit info and store it in new annotation for the created start plate.
    12  6. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated
     10 4. Java servlet class/file `InstallServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` to include the new bioplate annotation type for library preparation kit id and the renamed annotation type for library preparation name. Code for including bioplate annotation types for library preparation protocol id and name moved to library preparation section, next to code for library preparation kit id and name. New bioplate annotation type for library preparation kit id and the renamed annotation type for library preparation name added to `Subtype.DNA` annotation type category.
     11 5. Java servlet class/file `DnaServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` for command "`CreateDnaOrLibPlate`" to retrieve the library preparation kit id and name from submit info and store them in annotations for the created start plate.
     12 6. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` for command "`GetLibPrepKitAsPlates`" to retrieve the library preparation kit id values for the performed database query, and store them in new JSONArray `jsonKitId`, to later be stored in JSONObject `jsonPlate` for each kit with JSON key "`kitId`".[[BR]]b. Private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)` updated to retrieve the library preparation kit id values for the performed database query, and store them in new JSONArray `jsonKitId`, to later be stored in returned JSONObject `jsonConsumables` with JSON key "`KitId`".