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


Ignore:
Timestamp:
Dec 3, 2015, 12:07:20 PM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 122

    v1 v2  
    99Design update:
    1010
    11  1. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated to set value of new parameter "`anItemNotOnLibPlate`" to `true`, when calling `ExtractionServlet` for command "`GetProcessedStartItemLists`", in order to only include start lists with at least one item, that has not been placed on a start plate (library plate).[[BR]]b. Function `initializeStep2()` updated to set value of new parameter "`itemNotOnLibPlate`" to `true`, when calling `ExtractionServlet` for command "`GetListOfItemsFromstartItemLists`", in order to only include DNA extracts, that have not been placed on a start plate (library plate).
     11 1. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated to set value of new parameter "`anItemNotOnLibPlate`" to `true`, when calling `ExtractionServlet` for command "`GetProcessedStartItemLists`", in order to only include start lists with at least one item, that has not been placed on a start plate (library plate).[[BR]]b. Function `initializeStep2()` updated to set value of new parameter "`itemNotOnLibPlate`" to `true`, when calling `ExtractionServlet` for command "`GetListOfItemsFromStartItemLists`", in order to only include DNA extracts, that have not been placed on a start plate (library plate).
    1212 2. Java servlet class/file `ExtractionServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated:[[BR]]a. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for commands "`GetStartItemLists`", "`GetUnprocessedStartItemLists`", and "`GetProcessedStartItemLists`", to obtain value for new Boolean parameter "`anItemNotOnLibPlate`" and use that as fourth argument, when calling updated private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate)`.[[BR]]b. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetListOfItemsFromStartItemLists`", to obtain value for new Boolean parameter "`itemNotOnLibPlate`" and if the value is `true`, only include a DNA extract in the returned JSONArray, if new private method `boolean dnaHasNoFpaChild(DbControl dc, Extract e)` returns `true`.[[BR]]c. Private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate)` updated with new fourth argument "`Boolean anItemNotOnLibPlate`". if value of `anItemNotOnLibPlate` is `true`, new private method `boolean dnaHasNoFpaChild(DbControl dc, Extract e)` is called for DNA extracts in the start lists, to determine only include start lists with at least one item, that has not been placed on a start plate (library plate).[[BR]]d. New private method `boolean dnaHasNoFpaChild(DbControl dc, Extract e)` added. It checks whether an extract is of type DNA and has no FPA child items, in which case it returns `true`, else `false`.
    1313 3. JSP file `index.jsp` in `resources/` updated in counter for entry for wizard "Create new start DNA plate" to display value of new counter "`start-lists-processed-an-item-not-on-lib-plate`".