Changeset 641 for trunk/src


Ignore:
Timestamp:
Jul 2, 2010, 9:39:48 AM (13 years ago)
Author:
vinlud
Message:

Added dummy search function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/groovy/dbnp/rest/common/CommunicationManager.groovy

    r636 r641  
    44import java.net.URLEncoder
    55import org.codehaus.groovy.grails.web.json.*
     6import dbnp.studycapturing.Study
    67
    7 
    8 /**  CommunicationManager
     8/**  CommunicationManager
    99 *
    1010 *   @author Jahn
     
    182182    }
    183183
     184
     185 
     186    /** Send a request for the REST resource to SAM and deliver the
     187     *  results for the Query controller.
     188     *
     189     *  @param  compound        a SAM compound, e.g., "ldl" or "weight"
     190     *  @param  value           a SAM value of a measurement, e.g. "20" (without unit, please)
     191     *  @param  opperator       a SAM operator, i.e., "", "=", "<", or ">"
     192     *  @return List of matching studies
     193     */
     194    public List<Study> getSAMStudies( String compound, String value, String opperator ) {
     195         return []
     196    }
     197
     198
    184199}
Note: See TracChangeset for help on using the changeset viewer.