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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #801, comment 122

    v2 v3  
    1010
    1111 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).
    12  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`.
     12 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, in order to 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`".
    1414 4. Java counter service class/file `CounterService.java` in `src/net/sf/basedb/meludi/counter/` updated in private method `void countItemLists(DbControl dc, JSONObject json)` to count the number of processed start lists with at least one item, that has not been placed on a start plate (library plate), and return the number with JSON key "`start-lists-processed-an-item-not-on-lib-plate`".