Changes between Version 1 and Version 2 of Ticket #725, comment 37


Ignore:
Timestamp:
Mar 12, 2015, 4:45:09 PM (9 years ago)
Author:
olle

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #725, comment 37

    v1 v2  
    11Design specification update:
    22
    3  1. Java class/file `CounterService.java` in `src/net/sf/basedb/meludi/counter/` updated:[[BR]]a. Package private method `void count()` updated by calling two new private methods, `void countExtractSourceItems(DbControl dc, JSONObject json)` and `void countBioPlates(DbControl dc, JSONObject json)`.[[BR]]b. New private method `void countExtractSourceItems(DbControl dc, JSONObject json)` added. It performs three queries; for number of specimens without extract, DNA without original quantity, and RNA without original quantity, after which it returns the sum as the value for JSON key "`unprocessed-extract-source-items`".[[BR]]c. New private method `void countBioPlates(DbControl dc, JSONObject json)` added. It performs a query for the number of active cDNA plates with event date not set and returns the result as the value for JSON key "`cdna-plates-without-eventdate`".
     3 1. Java class/file `CounterService.java` in `src/net/sf/basedb/meludi/counter/` updated:[[BR]]a. Package private method `void count()` updated by calling two new private methods, `void countExtractSourceItems(DbControl dc, JSONObject json)` and `void countBioPlates(DbControl dc, JSONObject json)`.[[BR]]b. New private method `void countExtractSourceItems(DbControl dc, JSONObject json)` added. It performs three queries; for number of specimens without extract, DNA without original quantity, and RNA without original quantity, after which it returns the sum as the value for JSON key "`unprocessed-extract-source-items`".[[BR]]c. New private method `void countBioPlates(DbControl dc, JSONObject json)` added. It performs a query for the number of active DNA plates with event date not set and returns the result as the value for JSON key "`dna-plates-without-eventdate`".
    44
    5  2. JSP file `index.jsp` i `resources/` updated:[[BR]]a. Entry for "Lab Tracking protocol for Allprep isolation" updated by exchanging the counter "`specimens-without-extract`" for "`unprocessed-extract-source-items`" and counter title "`Number of unprocessed selections`" for "`Number of unprocessed specimens and unquantified RNA/DNA`".[[BR]]b. Entry for "DNA/RNA registration/quantification" updated by exchanging the counter "`specimens-without-extract`" for "`cdna-plates-without-eventdate`" and counter title "`Number of unprocessed specimens and unquantified RNA/DNA`" for "`Number of unprocessed start cDNA plates`".
     5 2. JSP file `index.jsp` i `resources/` updated:[[BR]]a. Entry for "Lab Tracking protocol for Allprep isolation" updated by exchanging the counter "`specimens-without-extract`" for "`unprocessed-extract-source-items`" and counter title "`Number of unprocessed selections`" for "`Number of unprocessed specimens and unquantified RNA/DNA`".[[BR]]b. Entry for "DNA/RNA registration/quantification" updated by exchanging the counter "`specimens-without-extract`" for "`dna-plates-without-eventdate`" and counter title "`Number of unprocessed specimens and unquantified RNA/DNA`" for "`Number of unprocessed start DNA plates`".
    66
    77 3. Data access object (DAO) class/file `Annotationtype.java` in `src/net/sf/basedb/meludi/dao/` updated:[[BR]]a. New static final `Annotationtype` "`SourceItemNames`" defined for bioplates. It is a multi-values String type annotation type.`