Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/11/08 16:11:10 (5 months ago)
Author:
machosry
Message:

address hierarchy: completed few enhancements suggested in the dev call. still the portlet overriding is not solved yet.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/addresshierarchy

    • Property svn:ignore set to
      dist
      build
  • openmrs-modules/addresshierarchy/src/org/openmrs/module/addresshierarchy/impl/AddressHierarchyServiceImpl.java

    r4787 r5238  
    77import org.openmrs.module.addresshierarchy.AddressHierarchy; 
    88import org.openmrs.module.addresshierarchy.AddressHierarchyService; 
     9import org.openmrs.module.addresshierarchy.AddressHierarchyType; 
    910import org.openmrs.module.addresshierarchy.db.AddressHierarchyDAO; 
    1011 
     
    4950        return dao.getCompleteLocations(); 
    5051    } 
     52     
     53    public String[] getLocationType(){ 
     54        return dao.getLocationType(); 
     55    } 
     56     
     57    public String[] getLocationTypeTable(){ 
     58        return dao.getLocationTypeTable(); 
     59    } 
     60     
     61    public void updateLocationTypeTable(AddressHierarchyType aht){ 
     62        dao.updateLocationTypeTable(aht); 
     63    } 
     64     
     65    public void loadTable(){ 
     66        dao.loadTable(); 
     67    } 
     68    public void unloadTable(){ 
     69        dao.unloadTable(); 
     70    } 
     71    public String[] getAddressHierarchyTypeList(Integer typeid){ 
     72        return dao.getAddressHierarchyTypeList(typeid); 
     73    } 
     74 
    5175 
    5276}