Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 3531

Show
Ignore:
Timestamp:
03/03/08 22:40:57 (10 months ago)
Author:
bwolfe
Message:

Updated the basicmodule to the 1.2.0 api jars

Files:

Legend:

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

    r2587 r3531  
    1111         
    1212        <classpathentry kind="lib" path="lib-common/junit-3.8.1.jar"/> 
    13         <classpathentry kind="lib" path="lib-common/openmrs-api-1.1.10.2283.jar"/> 
    14         <classpathentry kind="lib" path="lib-common/web-openmrs-api-1.1.10.2283.jar"/> 
     13        <classpathentry kind="lib" path="lib-common/openmrs-api-1.2.0.3409.jar"/> 
     14        <classpathentry kind="lib" path="lib-common/web-openmrs-api-1.2.0.3530.jar"/> 
    1515        <classpathentry kind="lib" path="lib-common/commons-logging-1.0.4.jar"/> 
    1616        <classpathentry kind="lib" path="lib-common/spring-2.0.jar"/> 
  • openmrs-modules/basicmodule/metadata/config.xml

    r2429 r3531  
    1919        <!-- /Base Module Properties --> 
    2020         
    21         <require_version>1.1.10.2283</require_version> 
     21        <require_version>1.2.0.3400</require_version> 
    2222         
    23         <!-- Extensions  
     23        <!-- Extensions --> 
    2424        <extension> 
    2525                <point>org.openmrs.admin.list</point> 
    2626                <class>@MODULE_PACKAGE@.extension.html.AdminList</class> 
    2727        </extension> 
    28          /Extensions --> 
    2928         
    3029         
  • openmrs-modules/basicmodule/web/src/org/openmrs/module/basicmodule/web/controller/BasicModuleFormController.java

    r3525 r3531  
    1414package org.openmrs.module.basicmodule.web.controller; 
    1515 
     16import java.util.Collection; 
    1617import java.util.HashMap; 
    17 import java.util.List; 
    1818import java.util.Map; 
    1919 
     
    7575     */ 
    7676    @Override 
    77         protected List<Patient> formBackingObject(HttpServletRequest request) throws Exception {  
     77        protected Collection<Patient> formBackingObject(HttpServletRequest request) throws Exception {  
    7878         
    7979        // get all patients that have an identifier "1234" 
    8080        // see http://resources.openmrs.org/doc/index.html?org/openmrs/api/PatientService.html for 
    8181        // a list of all PatientService methods 
    82         List<Patient> patients = Context.getPatientService().findPatients("1234", false); 
     82        Collection<Patient> patients = Context.getPatientService().findPatients("1234", false); 
    8383         
    8484        // this object will be made available to the jsp page under the variable name