Ignore:
Timestamp:
Oct 8, 2010, 2:47:23 PM (10 years ago)
Author:
j.saito@…
Message:

Adjusted CommunicationManager? to match closer with CommunicationManager? in SAM.
Added support for "token" notation of REST services directly in Study and Assay domain classes.
Cleaned up and tested communication further.

Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Assay.groovy

    r859 r934  
    5353                return name;
    5454        }
     55
     56    def getToken() {
     57                return externalAssayID
     58    }
    5559}
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r861 r934  
    2929        Term material           // material of the sample (should normally be bound to the BRENDA ontology)
    3030
    31         def getExternalSampleId() { name }
    3231
    3332        /**
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r900 r934  
    5555        }
    5656
    57         // The external study ID is currently defined as the code of the study.
     57        // The external identifier (studyToken) is currently the code of the study.
    5858        // It is used from within dbNP submodules to refer to particular study in this GSCF instance.
    59         def getExternalStudyId() { code }
     59        def getToken() { code }
    6060
    6161        /**
Note: See TracChangeset for help on using the changeset viewer.