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


Ignore:
Timestamp:
Nov 25, 2015, 8:33:32 AM (8 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 99

    v2 v3  
    1010 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.
    1111 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`".
     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`" (traditionally, JSON keys for `jsonConsumables` start with an upper case letter).