Changes between Version 9 and Version 10 of Ticket #801, comment 89


Ignore:
Timestamp:
Nov 20, 2015, 8:39:17 AM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 89

    v9 v10  
    1414 3. Javascript file `edit_libprep_kit_details.js` in `resources/´libprep/` updated by exchanging name of flag "Available" for "Active". Functions `initPage()` and `saveDetails()` updated to display the negation of kit attribute `inactive` value as "`yes`" or "`no`".
    1515 4. JSP file `inspect_libprep_kit_data.jsp` in `resources/´libprep/` updated by exchanging "Available" for "Active" in the library preparation kit filter menu.
    16  5. Javascript file `inspect_libprep_kit_data.js` in `resources/´libprep/` updated by exchanging name of flag "Available" for "Active". Function `updateDetailsTable()` updated to display the negation of kit attribute `inactive` value as "`yes`" or "`no`".
     16 5. Javascript file `inspect_libprep_kit_data.js` in `resources/´libprep/` updated by exchanging name of flag "Available" for "Active". Function `updateDetailsTable()` updated to display the negation of kit attribute `inactive` value as "`yes`" or "`no`" for the "Active" flag.
    1717 6. Javascript file `select_dna_for_start_plate.js` in `resources/´libprep/` updated in function `kitPlatesInfoLoaded(response)` by changing names of variables related to the `inactive` attribute of a kit. The "Available" and "available" part of the name was exchanged for "Active" and "active", respectively. Corresponding changes were made in displayed text.
    1818 7. Data access object class/file `Annotationtype.java` in `src/net/sf/basedb/meludi/dao/` updated with new kit annotation types for library preparation kit lot numbers, last updated date, number of times used, and unused wells for FPA aliquots.
    1919 8. Data access object class/file `Subtype.java` in `src/net/sf/basedb/meludi/dao/` updated by definition of a new library preparation kit subtype, `Subtype.LIBRARY_PREPARATION_KIT`, corresponding to the same subtype in BASE.
    2020 9. Java servlet class/file `InstallServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated to include the new kit annotation types.[[BR]]b. Public method `<T extends BasicItem<?> & Nameable> T createMeludiRole(SessionControl sc, MeludiRole<T> role)` updated by removing `BasicItem` generic argument to `<T extends BasicItem & Nameable> T createMeludiRole(SessionControl sc, MeludiRole<T> role)`.
    21  10. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Constant and variable names related to attribute "Available" updated by exchanging the "Available" and "available" part of the name for "Active" and "active", respectively. Correspondingly, "unavailable" was exchanged for "inactive".[[BR]]b. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for commands "`GetLibPrepKitData`" and "`GetLibPrepKitsAsPlates`" to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)`.[[BR]]c. Private method `JSONObject fetchJsonKitDataForUpdate(DbControl dc, String libPrepKitName, List<String> reservedWellsList)` updated with first new argument `DbControl dc` and to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)`.[[BR]]d. Private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)` updated with first new argument `DbControl dc`, to call new private method `JSONArray fetchKitJsonHeaders()` to obtain header names, and to perform a database query to obtain data for the kits.[[BR]]e. New private convenience method `JSONArray fetchKitJsonHeaders()` added. It returns a JSONArray with header names for library preparation kit components.[[BR]]f. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`PrepareDownloadLibPrepKitDataFile`" to convert the negation of kit attribute `inactive` value to strings "`true`" or "`false`".[[BR]]g. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterReagentLotNoFile`" to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitDataForUpdate(DbControl dc, String libPrepKitName, List<String> reservedWellsList)` and to store new or updated kit data as kit items in the database.[[BR]]h. Unused code removed.
     21 10. Java servlet class/file `LibPrepServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Constant and variable names related to attribute "Available" updated by exchanging the "Available" and "available" part of the name for "Active" and "active", respectively. Correspondingly, "unavailable" was exchanged for "inactive".[[BR]]b. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for commands "`GetLibPrepKitData`" and "`GetLibPrepKitsAsPlates`" to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)`.[[BR]]c. Private method `JSONObject fetchJsonKitDataForUpdate(DbControl dc, String libPrepKitName, List<String> reservedWellsList)` updated with first new argument `DbControl dc` and to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)`.[[BR]]d. Private method `JSONObject fetchJsonKitData(DbControl dc, String libPrepKitNameFilter, Boolean activeFilter, Boolean usedFilter, Integer minUnusedFpaPlateLocs)` updated with first new argument `DbControl dc`, to call new private method `JSONArray fetchKitJsonHeaders()` to obtain header names, and to perform a database query to obtain data for the kits.[[BR]]e. New private convenience method `JSONArray fetchKitJsonHeaders()` added. It returns a JSONArray with header names for library preparation kit components.[[BR]]f. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`PrepareDownloadLibPrepKitDataFile`" to convert the negation of kit attribute `inactive` value to strings "`true`" or "`false`" for the "Active" flag.[[BR]]g. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterReagentLotNoFile`" to include new first argument `DbControl dc` when calling updated private method `JSONObject fetchJsonKitDataForUpdate(DbControl dc, String libPrepKitName, List<String> reservedWellsList)` and to store new or updated kit data as kit items in the database.[[BR]]h. Unused code removed.