Changes between Initial Version and Version 1 of Ticket #837, comment 8


Ignore:
Timestamp:
Jan 22, 2016, 12:43:20 PM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #837, comment 8

    initial v1  
    77 5. Data access object class/file `Annotationtype.java` in `src/net/sf/basedb/meludi/dao/` updated:[[BR]]a. New boolean extract annotation type `QPCR_BRANCH` defined.
    88 6. 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 extract annotation type for qPCR branch, and add it to `Subtype.DNA` annotation type category.
    9  7. 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 retrieve value of new Boolean request parameter "`ignoreQpcrBranch`" and use this as argument when calling updated private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate, Boolean ignoreQpcrBranch)`. Command "`GetListOfItemsFromStartItemLists`" updated to retrieve value of new Boolean request parameter "`ignoreQpcrBranch`", and to ignore the qPCR branch if the value of the parameter is `true`.[[BR]]b. Private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate, Boolean ignoreQpcrBranch)` updated with new argument `Boolean ignoreQpcrBranch`, and to ignore the qPCR branch if the value of the argument is `true`.
     9 7. 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 retrieve value of new Boolean request parameter "`ignoreQpcrBranch`" and use this as argument when calling updated private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate, Boolean ignoreQpcrBranch)`. Command "`GetListOfItemsFromStartItemLists`" updated to retrieve value of new Boolean request parameter "`ignoreQpcrBranch`", and to ignore the qPCR branch if the value of the parameter is `true`.[[BR]]b. Private method `JSONArray fetchStartItemLists(DbControl dc, Boolean processed, Boolean orderDesc, Boolean anItemNotOnLibPlate, Boolean ignoreQpcrBranch)` updated with new argument `Boolean ignoreQpcrBranch`, and to ignore the qPCR branch if the value of the argument is `true`.[[BR]]c. Private method `void loadDnaInfo(DbControl dc, SnapshotManager manager, Dna dna)` updated to add value of annotation `Annotationtype.QPCR_BRANCH` for JSON key "`qpcrBranch`".
    1010 8. Java servlet class/file `DnaServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated in protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` with new command "`UpdateDnaQpcrBranchFlag`" to retrieve DNA id and new qPCR branch values from submit info and update value of `Annotationtype.QPCR_BRANCH` for those extracts, where the setting has changed.
    1111 9. 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 ignore extracts marked for qPCR when counting 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`".