Changes between Version 19 and Version 20 of Ticket #802, comment 19


Ignore:
Timestamp:
Sep 22, 2015, 11:04:37 AM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #802, comment 19

    v19 v20  
    2020 5. Java data access object class/file `StartList.java` in `src/net/sf/basedb/meludi/dao/` updated by making item type constants static, and adding new public methods `List<String> fetchItemNameListFromItemList(DbControl dc, String itemType)` and `List<String> fetchItemNameListFromItemList(DbControl dc, String itemType, boolean meludiItemsFirst)`. They return a list of extract member items of the desired type from the start list.
    2121 6. Java servlet class/file `InstallServlet.java` in `src/net/sf/basedb/meludi/servlet/` updated for new annotation types.
    22  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 command "`GetSourceItemListFromStartItemList`" to return values for new annotations.[[BR]]b. Private method `void loadRnaInfo(DbControl dc, SnapshotManager manager, Rna rna)` updated to support new annotation type `Annotationtype.EXTRACTION_OPERATOR`.[[BR]]c. Private method `void loadDnaInfo(DbControl dc, SnapshotManager manager, Dna dna)` updated to support new annotation type `Annotationtype.EXTRACTION_OPERATOR`.[[BR]]d. Protected method `void doPostHttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterStartItemList`" to store values for new annotations.[[BR]]e. Protected method `void doPostHttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterDnaRna`" to store values for new annotations.[[BR]]f. Protected method `void doPostHttpServletRequest req, HttpServletResponse resp)` updated with new command "`UpdateStartListsWithLotNumbersFromExtracts`". For each selected start item list, new lot number annotations of the latter will be set to values of the corresponding annotations for the first DNA extract, or if no such extract exists, the first RNA extract (MeLuDI items are used if existing, otherwise extra material items). The new extraction operator annotation will not be set, as it was not defined for extracts prior to MeLuDI v1.3.2.
     22 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 command "`GetSourceItemListFromStartItemList`" to return values for new annotations.[[BR]]b. Private method `void loadRnaInfo(DbControl dc, SnapshotManager manager, Rna rna)` updated to support new annotation type `Annotationtype.EXTRACTION_OPERATOR`.[[BR]]c. Private method `void loadDnaInfo(DbControl dc, SnapshotManager manager, Dna dna)` updated to support new annotation type `Annotationtype.EXTRACTION_OPERATOR`.[[BR]]d. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterStartItemList`" to store values for new annotations.[[BR]]e. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterDnaRna`" to store values for new annotations.[[BR]]f. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated with new command "`UpdateStartListsWithLotNumbersFromExtracts`". For each selected start item list, new lot number annotations of the latter will be set to values of the corresponding annotations for the first DNA extract, or if no such extract exists, the first RNA extract (MeLuDI items are used if existing, otherwise extra material items). The new extraction operator annotation will not be set, as it was not defined for extracts prior to MeLuDI v1.3.2.