Changeset 641

Show
Ignore:
Timestamp:
02-07-10 09:39:48 (4 years ago)
Author:
vinlud
Message:

Added dummy search function

Files:
1 modified

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}