Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 2229

Show
Ignore:
Timestamp:
08/20/07 14:06:13 (1 year ago)
Author:
rzwolinski
Message:

In Logic Web Service, updated the code to work with the fixes to the Logic Service as of [2228].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/logicws/.classpath

    r2172 r2229  
    88        <classpathentry kind="lib" path="lib/servlet-api.jar"/> 
    99        <classpathentry kind="lib" path="lib/spring-2.0.jar"/> 
    10         <classpathentry kind="lib" path="lib/openmrs-api-1.1.10.2157.jar"/> 
     10        <classpathentry kind="lib" path="lib/openmrs-api-1.1.10.2228.jar"/> 
    1111        <classpathentry kind="output" path="build"/> 
    1212</classpath> 
  • openmrs-modules/logicws/web/src/org/openmrs/module/logicws/web/TokenResource.java

    r2172 r2229  
    88import javax.servlet.http.HttpServletResponse; 
    99 
    10 import java.util.List
     10import java.util.Collection
    1111 
    1212import org.openmrs.logic.LogicService; 
     
    3333            // List Tokens <token name="VALUE" type="VALUE" /> 
    3434            if (request.getParameter("tag") != null) { 
    35                 List<String> tokens = ls.getTokensByTag(request 
     35                Collection<String> tokens = ls.getTokensByTag(request 
    3636                        .getParameter("tag")); 
    3737                for (String t : tokens) { 
  • openmrs-modules/logicws/web/src/org/openmrs/module/logicws/web/TokenTagResource.java

    r2212 r2229  
    88import javax.servlet.http.HttpServletResponse; 
    99 
    10 import java.util.List
     10import java.util.Collection
    1111 
    1212import org.openmrs.api.context.Context; 
     
    2323 
    2424            // List entities <tag>VALUE</tag> 
    25             List<String> tags = Context.getLogicService().findTokenTags(""); 
     25            Collection<String> tags = Context.getLogicService().findTags(""); 
    2626            for (String tag : tags) { 
    2727                out.print("<tag>" + tag + "</tag>");