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`. |