Changes between Version 4 and Version 5 of Ticket #851, comment 3
- Timestamp:
- Feb 18, 2016, 9:05:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #851, comment 3
v4 v5 13 13 3. Java data access object class/file `Annotationtype.java` in `src/net/sf/basedb/reggie/dao/` updated with five new boolean annotation types for N/A check box status for the date sets. The annotations are for biosource items, as the other annotations for the retraction follow-up step. 14 14 4. Java servlet class/file `InstallServlet.java` in `src/net/sf/basedb/reggie/servlet/` updated in protected method `void doGet(HttpServletRequest req, HttpServletResponse resp)` to include the new annotation types for status of the N/A check boxes, and add them to `Subtype.RETRACT` and `Subtype.RETRO_NO` annotation type categories. 15 5. Java servlet class/file `RetractionServlet.java` in `src/net/sf/basedb/reggie/servlet/` updated 15 5. Java servlet class/file `RetractionServlet.java` in `src/net/sf/basedb/reggie/servlet/` updated:[[BR]]a. Private method `void loadPatientInfo(DbControl dc, Patient patient)` updated to load values of new annotations for status of "N/A" check boxes for retraction follow-up date sets.[[BR]]b. Protected method `void doPost(HttpServletRequest req, HttpServletResponse resp)` updated for command "`RegisterFollowUp`" to get new values of "N/A" check boxes for retraction follow-up date sets from the submitted JSONObject, and old values for the same variables from stored annotations. The annotations are then updated with the new values, and dates in date sets marked as "N/A" are ignored, when determining if patient/case data is ready for destruction. Changes of stored status values for "N/A" check boxes are also taken into account, when reporting the number of modified annotations.