Changes between Initial Version and Version 1 of Ticket #767, comment 4


Ignore:
Timestamp:
Apr 13, 2015, 4:41:28 PM (10 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #767, comment 4

    initial v1  
    77 1. Data access object class/file `Annotationtype.java` in `src/net/sf/basedb/meludi/dao/` updated:[[BR]]a. New annotation type `EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` of type  `Type.TEXT` added for bioplates.
    88 2. 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 annotations of new text annotation type `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` for bioplate items.
    9  3. 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 "`GetStartPlates`" and "`GetUnprocessedStartPlates`" by calling method `loadAnnotations(DbControl dc, String jsonKey, Annotationtype annotationType, ValueConverter converter, Boolean fromListString, Boolean trim)` for a start plate to retrieve `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations as a string list, where Boolean flags `fromListString` and `trim` are set to `true`. The annotation values are returned as a JSON object with key "`extraItemNames`".[[BR]]b. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetSourceItemListFromStartPlate`" to call new  `Annotationtype` method `List<?> getAnnotationValues(DbControl dc, Annotatable item, Boolean fromListString, Boolean trim)` for a start plate to retrieve `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations as a string list, where Boolean flags `fromListString` and `trim` are set to `true`. If extra QIAcube items exists, but no name data has been stored, standard names "`E01`", "`E02`",..., "`E10`", etc. are generated. The extra QIAcube item data is returned as a JSON object with key "`extraitems`".[[BR]]c. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterStartPlate`" to call `Annotationtype` method `void setAnnotationValues(DbControl dc, Annotatable item, List<?> values)` for `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations to store an extra QIAcube item name list for a start plate.
     9 3. 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 "`GetStartPlates`" and "`GetUnprocessedStartPlates`" by calling method `loadAnnotations(DbControl dc, String jsonKey, Annotationtype annotationType, ValueConverter converter, Boolean fromListString, Boolean trim)` for a start plate to retrieve `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations as a string list, where Boolean flags `fromListString` and `trim` are set to `true`. The annotation values are returned as a JSON object with key "`extraItemNames`".[[BR]]b. Protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` updated for command "`GetSourceItemListFromStartPlate`" to call new  `Annotationtype` method `List<?> getAnnotationValues(DbControl dc, Annotatable item, Boolean fromListString, Boolean trim)` for a start plate to retrieve `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations as a string list, where Boolean flags `fromListString` and `trim` are set to `true`. If extra QIAcube items exist, but no name data has been stored, standard names "`E01`", "`E02`",..., "`E10`", etc. are generated. The extra QIAcube item data is returned as a JSON object with key "`extraitems`".[[BR]]c. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterStartPlate`" to call `Annotationtype` method `void setAnnotationValues(DbControl dc, Annotatable item, List<?> values)` for `Annotationtype.EXTRA_QIACUBE_ITEM_NAMES_LIST_STRING` annotations to store an extra QIAcube item name list for a start plate.
    1010 4. JSP file `extraction_preparation.jsp` in `resources/sampleproc/` updated by adding new hidden multiple select tag with id "`extraQiacubeItems`", for storage of data for extra QIAcube items.
    1111 5. Javascript file `extraction_preparation.js` in `resources/sampleproc/` updated:[[BR]]a.