=== removed directory 'webservice' === removed directory 'webservice/dhis-webservice-expoze' === removed file 'webservice/dhis-webservice-expoze/pom.xml' --- webservice/dhis-webservice-expoze/pom.xml 2010-08-20 09:13:09 +0000 +++ webservice/dhis-webservice-expoze/pom.xml 1970-01-01 00:00:00 +0000 @@ -1,74 +0,0 @@ - - 4.0.0 - - - org.hisp.dhis - dhis-web - 2.0.6-SNAPSHOT - - - dhis-webservice-expoze - war - DHIS WebService - - - dhis-webservice - - - - - - - - org.hisp.dhis - dhis-api - - - org.hisp.dhis - dhis-service-core - - - org.hisp.dhis - dhis-service-datamart-default - - - org.hisp.dhis - dhis-service-reporting - - - org.hisp.dhis - dhis-service-mapping - - - org.hisp.dhis - dhis-support-system - - - - - - velocity - velocity - 1.5 - - - - - - org.amplecode - expoze - 1.0.7 - - - commons-logging - commons-logging - - - org.springframework - spring - - - - === removed directory 'webservice/dhis-webservice-expoze/src' === removed directory 'webservice/dhis-webservice-expoze/src/main' === removed directory 'webservice/dhis-webservice-expoze/src/main/java' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter' === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator' === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/DefaultIndicatorServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/DefaultIndicatorServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/DefaultIndicatorServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,64 +0,0 @@ -package org.hisp.dhis.webservice.adapter.indicator; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; - -import org.hisp.dhis.indicator.Indicator; -import org.hisp.dhis.indicator.IndicatorGroup; -import org.hisp.dhis.indicator.IndicatorService; - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public class DefaultIndicatorServiceAdapter - implements IndicatorServiceAdapter -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private IndicatorService indicatorService; - - public void setIndicatorService( IndicatorService indicatorService ) - { - this.indicatorService = indicatorService; - } - - // ------------------------------------------------------------------------- - // IndicatorServiceAdapter implementation - // ------------------------------------------------------------------------- - - public Collection getIndicatorsByIndicatorGroup( int indicatorGroupId ) - { - IndicatorGroup indicatorGroup = indicatorService.getIndicatorGroup( indicatorGroupId ); - - return indicatorGroup != null ? indicatorGroup.getMembers() : null; - } -} \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/IndicatorServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/IndicatorServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/indicator/IndicatorServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,41 +0,0 @@ -package org.hisp.dhis.webservice.adapter.indicator; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; - -import org.hisp.dhis.indicator.Indicator; - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public interface IndicatorServiceAdapter -{ - Collection getIndicatorsByIndicatorGroup( int indicatorGroupId ); -} \ No newline at end of file === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping' === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/DefaultMappingServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/DefaultMappingServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/DefaultMappingServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,170 +0,0 @@ -package org.hisp.dhis.webservice.adapter.mapping; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; -import java.util.Set; - -import org.hisp.dhis.organisationunit.OrganisationUnit; -import org.hisp.dhis.organisationunit.OrganisationUnitLevel; -import org.hisp.dhis.organisationunit.OrganisationUnitService; -import org.hisp.dhis.mapping.Map; -import org.hisp.dhis.mapping.MapOrganisationUnitRelation; -import org.hisp.dhis.mapping.MappingService; - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public class DefaultMappingServiceAdapter - implements MappingServiceAdapter -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private MappingService mappingService; - - public void setMappingService( MappingService mappingService ) - { - this.mappingService = mappingService; - } - - private OrganisationUnitService organisationUnitService; - - public void setOrganisationUnitService( OrganisationUnitService organisationUnitService ) - { - this.organisationUnitService = organisationUnitService; - } - - // ------------------------------------------------------------------------- - // Map - // ------------------------------------------------------------------------- - - public int addMap( String name, String mapLayerPath, String type, int organisationUnitId, int organisationUnitLevelId, String uniqueColumn, - String nameColumn, String longitude, String latitude, int zoom ) - { - OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( organisationUnitId ); - - OrganisationUnitLevel organisationUnitLevel = organisationUnitService - .getOrganisationUnitLevel( organisationUnitLevelId ); - - Set staticMapLayerPaths = null; - - Map map = new Map( name, mapLayerPath, type, organisationUnit, organisationUnitLevel, uniqueColumn, nameColumn, longitude, - latitude, zoom, staticMapLayerPaths ); - - return mappingService.addMap( map ); - } - - public void addOrUpdateMap( String name, String mapLayerPath, String type, int organisationUnitId, int organisationUnitLevelId, - String uniqueColumn, String nameColumn, String longitude, String latitude, int zoom ) - { - Map map = mappingService.getMapByMapLayerPath( mapLayerPath ); - - OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( organisationUnitId ); - - OrganisationUnitLevel organisationUnitLevel = organisationUnitService - .getOrganisationUnitLevel( organisationUnitLevelId ); - - Set staticMapLayerPaths = null; - - if ( map != null ) - { - map.setOrganisationUnit( organisationUnit ); - map.setOrganisationUnitLevel( organisationUnitLevel ); - map.setUniqueColumn( uniqueColumn ); - map.setNameColumn( nameColumn ); - map.setLongitude( longitude ); - map.setLatitude( latitude ); - map.setZoom( zoom ); - - mappingService.updateMap( map ); - } - else - { - map = new Map( name, mapLayerPath, type, organisationUnit, organisationUnitLevel, uniqueColumn, nameColumn, longitude, - latitude, zoom, staticMapLayerPaths ); - - mappingService.addMap( map ); - } - } - - public void deleteMapByMapLayerPath( String mapLayerPath ) - { - Map map = mappingService.getMapByMapLayerPath( mapLayerPath ); - - mappingService.deleteMap( map ); - } - - // ------------------------------------------------------------------------- - // MapOrganisationUnitRelation - // ------------------------------------------------------------------------- - - public int addMapOrganisationUnitRelation( String mapLayerPath, int organisationUnitId, String featureId ) - { - Map map = mappingService.getMapByMapLayerPath( mapLayerPath ); - - OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( organisationUnitId ); - - MapOrganisationUnitRelation mapOrganisationUnitRelation = new MapOrganisationUnitRelation( map, - organisationUnit, featureId ); - - return mappingService.addMapOrganisationUnitRelation( mapOrganisationUnitRelation ); - } - - public void addOrUpdateMapOrganisationUnitRelation( String mapLayerPath, int organisationUnitId, String featureId ) - { - Map map = mappingService.getMapByMapLayerPath( mapLayerPath ); - - OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( organisationUnitId ); - - MapOrganisationUnitRelation mapOrganisationUnitRelation = mappingService.getMapOrganisationUnitRelation( map, - organisationUnit ); - - if ( mapOrganisationUnitRelation != null ) - { - mapOrganisationUnitRelation.setFeatureId( featureId ); - - mappingService.updateMapOrganisationUnitRelation( mapOrganisationUnitRelation ); - } - else - { - mapOrganisationUnitRelation = new MapOrganisationUnitRelation( map, organisationUnit, featureId ); - - mappingService.addMapOrganisationUnitRelation( mapOrganisationUnitRelation ); - } - } - - public Collection getAvailableMapOrganisationUnitRelations( String mapLayerPath ) - { - Map map = mappingService.getMapByMapLayerPath( mapLayerPath ); - - return mappingService.getAvailableMapOrganisationUnitRelations( map ); - } -} \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/MappingServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/MappingServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/mapping/MappingServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,61 +0,0 @@ -package org.hisp.dhis.webservice.adapter.mapping; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; - -import org.hisp.dhis.mapping.MapOrganisationUnitRelation; - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public interface MappingServiceAdapter -{ - // ------------------------------------------------------------------------- - // Map - // ------------------------------------------------------------------------- - - int addMap( String name, String mapLayerPath, String type, int organisationUnitId, int organisationUnitLevelId, String uniqueColumn, - String nameColumn, String longitude, String latitude, int zoom ); - - void addOrUpdateMap( String name, String mapLayerPath, String type, int organisationUnitId, int organisationUnitLevelId, String uniqueColumn, - String nameColumn, String longitude, String latitude, int zoom ); - - void deleteMapByMapLayerPath( String mapLayerPath ); - - // ------------------------------------------------------------------------- - // MapOrganisationUnitRelation - // ------------------------------------------------------------------------- - - int addMapOrganisationUnitRelation( String mapLayerPath, int organisationUnitId, String featureId ); - - void addOrUpdateMapOrganisationUnitRelation( String mapLayerPath, int organisationUnitId, String featureId ); - - Collection getAvailableMapOrganisationUnitRelations( String mapLayerPath ); -} === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit' === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/DefaultOrganisationUnitServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,66 +0,0 @@ -package org.hisp.dhis.webservice.adapter.organisationunit; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import org.hisp.dhis.organisationunit.OrganisationUnit; -import org.hisp.dhis.organisationunit.OrganisationUnitService; - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public class DefaultOrganisationUnitServiceAdapter - implements OrganisationUnitServiceAdapter -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private OrganisationUnitService organisationUnitService; - - public void setOrganisationUnitService( OrganisationUnitService organisationUnitService ) - { - this.organisationUnitService = organisationUnitService; - } - - // ------------------------------------------------------------------------- - // PeriodServiceAdapter implementation - // ------------------------------------------------------------------------- - - public void updateOrganisationUnitGeoCode( int id, String geoCode ) - { - OrganisationUnit organisationUnit = organisationUnitService.getOrganisationUnit( id ); - - if ( organisationUnit != null ) - { - organisationUnit.setGeoCode( geoCode ); - - organisationUnitService.updateOrganisationUnit( organisationUnit ); - } - } -} \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/organisationunit/OrganisationUnitServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,37 +0,0 @@ -package org.hisp.dhis.webservice.adapter.organisationunit; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -/** - * @author Jan Henrik Overland - * @version $Id$ - */ -public interface OrganisationUnitServiceAdapter -{ - void updateOrganisationUnitGeoCode( int id, String geoCode ); -} === removed directory 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period' === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/DefaultPeriodServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/DefaultPeriodServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/DefaultPeriodServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,64 +0,0 @@ -package org.hisp.dhis.webservice.adapter.period; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; - -import org.hisp.dhis.period.Period; -import org.hisp.dhis.period.PeriodService; -import org.hisp.dhis.period.PeriodType; - -/** - * @author Lars Helge Overland - * @version $Id$ - */ -public class DefaultPeriodServiceAdapter - implements PeriodServiceAdapter -{ - // ------------------------------------------------------------------------- - // Dependencies - // ------------------------------------------------------------------------- - - private PeriodService periodService; - - public void setPeriodService( PeriodService periodService ) - { - this.periodService = periodService; - } - - // ------------------------------------------------------------------------- - // PeriodServiceAdapter implementation - // ------------------------------------------------------------------------- - - public Collection getPeriodsByPeriodType( int periodTypeId ) - { - PeriodType periodType = periodService.getPeriodType( periodTypeId ); - - return periodService.getPeriodsByPeriodType( periodType ); - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/PeriodServiceAdapter.java' --- webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/PeriodServiceAdapter.java 2010-04-12 21:23:33 +0000 +++ webservice/dhis-webservice-expoze/src/main/java/org/hisp/dhis/webservice/adapter/period/PeriodServiceAdapter.java 1970-01-01 00:00:00 +0000 @@ -1,41 +0,0 @@ -package org.hisp.dhis.webservice.adapter.period; - -/* - * Copyright (c) 2004-2010, University of Oslo - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * * Neither the name of the HISP project nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -import java.util.Collection; - -import org.hisp.dhis.period.Period; - -/** - * @author Lars Helge Overland - * @version $Id$ - */ -public interface PeriodServiceAdapter -{ - Collection getPeriodsByPeriodType( int periodTypeId ); -} === removed directory 'webservice/dhis-webservice-expoze/src/main/resources' === removed directory 'webservice/dhis-webservice-expoze/src/main/resources/META-INF' === removed directory 'webservice/dhis-webservice-expoze/src/main/resources/META-INF/dhis' === removed file 'webservice/dhis-webservice-expoze/src/main/resources/META-INF/dhis/beans.xml' --- webservice/dhis-webservice-expoze/src/main/resources/META-INF/dhis/beans.xml 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/META-INF/dhis/beans.xml 1970-01-01 00:00:00 +0000 @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/cssHtmlDataCompleteness.vm' --- webservice/dhis-webservice-expoze/src/main/resources/cssHtmlDataCompleteness.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/cssHtmlDataCompleteness.vm 1970-01-01 00:00:00 +0000 @@ -1,38 +0,0 @@ - -#macro( alternate $mark ) - #if( $mark ) class="listAlternateRow"#else class="listRow"#end -#end - - - - - - - - - - - - - - - - #set( $mark = false ) - #foreach( $result in $object ) - - $result.name - $result.sources - $result.registrations - $result.getPercentage() - $result.registrationsOnTime - $result.getPercentageOnTime() - - #if( $mark ) - #set( $mark = false ) - #else - #set( $mark = true ) - #end - #end -
NameActualTargetPercentageOn timePercentage
- - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/cssHtmlReportTableData.vm' --- webservice/dhis-webservice-expoze/src/main/resources/cssHtmlReportTableData.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/cssHtmlReportTableData.vm 1970-01-01 00:00:00 +0000 @@ -1,35 +0,0 @@ - -#macro( alternate $mark ) - #if( $mark ) class="listAlternateRow"#else class="listRow"#end -#end - - - - - - - - - - - - #foreach( $column in $object.columns.values() ) - - #end - - #set( $mark = false ) - #foreach( $row in $object.rows ) - - #foreach( $value in $row.values() ) - $value - #end - - #if( $mark ) - #set( $mark = false ) - #else - #set( $mark = true ) - #end - #end -

$object.name

$column
- - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml' --- webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml 2009-06-23 09:17:22 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/dispatcher.xml 1970-01-01 00:00:00 +0000 @@ -1,1127 +0,0 @@ - - - - - - - - - getAllDataElements - org.hisp.dhis.dataelement.DataElementService - getAllDataElements - - - - xml - - - json - - application/json - - - jsonmin - - application/json - - - pdf - file - org.hisp.dhis.pdf.PdfService - writeAllDataElements - - - java.io.OutputStream - outputStream - - - application/pdf - - - xls - file - org.hisp.dhis.workbook.WorkbookService - writeAllDataElements - - - java.io.OutputStream - outputStream - - - application/vnd.ms-excel - - - - - - getDataElement - org.hisp.dhis.dataelement.DataElementService - getDataElement - - - int - id - - - - - - xml - - - json - - application/json - - - - - - getDataElementByName - org.hisp.dhis.dataelement.DataElementService - getDataElementByName - - - java.lang.String - name - - - - - - xml - - - json - - application/json - - - - - - getDataElementByAlternativeName - org.hisp.dhis.dataelement.DataElementService - getDataElementByAlternativeName - - - java.lang.String - alternativeName - - - - - - xml - - - json - - application/json - - - - - - getDataElementByShortName - org.hisp.dhis.dataelement.DataElementService - getDataElementByShortName - - - java.lang.String - shortName - - - - - - xml - - - json - - application/json - - - - - - getDataElementByCode - org.hisp.dhis.dataelement.DataElementService - getDataElementByCode - - - java.lang.String - code - - - - - - xml - - - json - - application/json - - - - - - - - getAllIndicators - org.hisp.dhis.indicator.IndicatorService - getAllIndicators - - - - xml - - - json - - application/json - - - jsonmin - - application/json - - - pdf - file - org.hisp.dhis.pdf.PdfService - writeAllIndicators - - - java.io.OutputStream - outputStream - - - application/pdf - - - xls - file - org.hisp.dhis.workbook.WorkbookService - writeAllIndicators - - - java.io.OutputStream - outputStream - - - application/vnd.ms-excel - - - - - - getIndicator - org.hisp.dhis.indicator.IndicatorService - getIndicator - - - int - id - - - - - - xml - - - json - - application/json - - - - - - getIndicatorByName - org.hisp.dhis.indicator.IndicatorService - getIndicatorByName - - - java.lang.String - name - - - - - - xml - - - json - - application/json - - - - - - getIndicatorByAlternativeName - org.hisp.dhis.indicator.IndicatorService - getIndicatorByAlternativeName - - - java.lang.String - alternativeName - - - - - - xml - - - json - - application/json - - - - - - getIndicatorByShortName - org.hisp.dhis.indicator.IndicatorService - getIndicatorByShortName - - - java.lang.String - shortName - - - - - - xml - - - json - - application/json - - - - - - getIndicatorByCode - org.hisp.dhis.indicator.IndicatorService - getIndicatorByCode - - - java.lang.String - code - - - - - - xml - - - json - - application/json - - - - - - getIndicatorsByIndicatorGroup - org.hisp.dhis.webservice.adapter.indicator.IndicatorServiceAdapter - getIndicatorsByIndicatorGroup - - - int - indicatorGroupId - - - - - - xml - - - json - - application/json - - - jsonmin - - application/json - - - - - - - - getAllIndicatorGroups - org.hisp.dhis.indicator.IndicatorService - getAllIndicatorGroups - - - - xml - - - json - - application/json - - - - - - - - getAllDataSets - org.hisp.dhis.dataset.DataSetService - getAllDataSets - - - - xml - - - json - - application/json - - - - - - getDataSet - org.hisp.dhis.dataset.DataSetService - getDataSet - - - int - id - - - - - - xml - - - json - - application/json - - - - - - getDataSetByName - org.hisp.dhis.dataset.DataSetService - getDataSetByName - - - java.lang.String - name - - - - - - xml - - - json - - application/json - - - - - - getDataSetByShortName - org.hisp.dhis.dataset.DataSetService - getDataSetByShortName - - - java.lang.String - shortName - - - - - - xml - - - json - - application/json - - - - - - - - getAllPeriods - org.hisp.dhis.period.PeriodService - getAllPeriods - - - - xml - - - json - - application/json - - - - - - getPeriodsByPeriodType - org.hisp.dhis.webservice.adapter.period.PeriodServiceAdapter - getPeriodsByPeriodType - - - int - periodTypeId - - - - - - xml - - - json - - application/json - - - - - - - - getAllPeriodTypes - org.hisp.dhis.period.PeriodStore - getAllPeriodTypes - - - - xml - - - json - - application/json - - - - - - - - getAllOrganisationUnits - org.hisp.dhis.organisationunit.OrganisationUnitService - getAllOrganisationUnits - - - - xml - - - json - - application/json - - - pdf - file - org.hisp.dhis.pdf.PdfService - writeAllOrganisationUnits - - - java.io.OutputStream - outputStream - - - application/pdf - - - xls - file - org.hisp.dhis.workbook.WorkbookService - writeAllOrganisationUnits - - - java.io.OutputStream - outputStream - - - application/vnd.ms-excel - - - - - - getOrganisationUnitsAtLevel - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnitsAtLevel - - - int - level - - - - - - xml - - - xmlcomp - - application/json - - - json - - application/json - - - - - - - getOrganisationUnit - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnit - - - int - id - - - - - - xml - - - json - - application/json - - - - - - getOrganisationUnitByName - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnitByName - - - java.lang.String - name - - - - - - xml - - - json - - application/json - - - - - - getOrganisationUnitByShortName - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnitByShortName - - - java.lang.String - shortName - - - - - - xml - - - json - - application/json - - - - - - getOrganisationUnitByCode - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnitByCode - - - java.lang.String - code - - - - - - xml - - - json - - application/json - - - - - - updateOrganisationUnitGeoCode - void - org.hisp.dhis.webservice.adapter.organisationunit.OrganisationUnitServiceAdapter - updateOrganisationUnitGeoCode - - - int - id - - - java.lang.String - geoCode - - - - - - - - getOrganisationUnitLevels - org.hisp.dhis.organisationunit.OrganisationUnitService - getOrganisationUnitLevels - - - - xml - - - json - - application/json - - - - - - - - getReportTableData - org.hisp.dhis.reporttable.ReportTableService - getReportTableData - - - int - id - - - - - - xml - - - html - - text/html - - - csshtml - - text/html - - - xls - file - org.hisp.dhis.workbook.WorkbookService - writeReportTableData - - - java.io.OutputStream - outputStream - - - int - id - - - application/vnd.ms-excel - - - - - - - - getAllReportTables - org.hisp.dhis.reporttable.ReportTableService - getAllReportTables - - - - xml - - - json - - application/json - - - - - - getReportTable - org.hisp.dhis.reporttable.ReportTableService - getReportTable - - - int - id - - - - - - xml - - - json - - application/json - - - - - - - - getAllCharts - org.hisp.dhis.chart.ChartService - getAllCharts - - - - xml - - - json - - application/json - - - - - - - - getDataSetCompleteness - org.hisp.dhis.completeness.DataSetCompletenessService - getDataSetCompleteness - - - int - periodId - - - int - organisationUnitId - - - - - - xml - - - html - - text/html - - - csshtml - - text/html - - - xls - file - org.hisp.dhis.workbook.WorkbookService - writeDataSetCompleteness - - - java.io.OutputStream - outputStream - - - int - periodId - - - int - organisationUnitId - - - application/vnd.ms-excel - - - - - - - - getChart - chart - org.hisp.dhis.chart.ChartService - getJFreeChart - - - int - id - - - - - - - - getMapValues - org.hisp.dhis.datamart.DataMartStore - getAggregatedMapValues - - - int - indicatorId - - - int - periodId - - - int - level - - - - - - xml - - - json - - application/json - - - - - - - - getPivotTable - org.hisp.dhis.pivottable.PivotTableService - getPivotTable - - - int - indicatorGroupId - - - java.lang.String - periodTypeName - - - java.lang.String - startDate - - - java.lang.String - endDate - - - int - level - - - - - - json - - application/json - - - - - - - - addOrUpdateMap - void - org.hisp.dhis.mapping.MappingServiceAdapter - addOrUpdateMap - - - java.lang.String - mapLayerPath - - - int - organisationUnitId - - - int - organisationUnitLevelId - - - java.lang.String - uniqueColumn - - - java.lang.String - nameColumn - - - java.lang.String - longitude - - - java.lang.String - latitude - - - int - zoom - - - - - - getAllMaps - org.hisp.dhis.mapping.MappingService - getAllMaps - - - - json - - application/json - - - jsonmin - - application/json - - - - - - getMapByMapLayerPath - org.hisp.dhis.mapping.MappingService - getMapByMapLayerPath - - - java.lang.String - mapLayerPath - - - - - - json - - application/json - - - - - - deleteMapByMapLayerPath - void - org.hisp.dhis.mapping.MappingService - deleteMapByMapLayerPath - - post - delete - - - - java.lang.String - mapLayerPath - - - - - - addOrUpdateMapOrganisationUnitRelation - void - org.hisp.dhis.mapping.MappingService - addOrUpdateMapOrganisationUnitRelation - - - java.lang.String - mapLayerPath - - - int - organisationUnitId - - - java.lang.String - featureId - - - - - - getAvailableMapOrganisationUnitRelations - org.hisp.dhis.mapping.MappingService - getAvailableMapOrganisationUnitRelations - - - java.lang.String - mapLayerPath - - - - - - json - - application/json - - - - - - - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/htmlDataCompleteness.vm' --- webservice/dhis-webservice-expoze/src/main/resources/htmlDataCompleteness.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/htmlDataCompleteness.vm 1970-01-01 00:00:00 +0000 @@ -1,24 +0,0 @@ - - - - - - - - - - - - #foreach( $result in $object ) - - - - - - - - - #end -
NameActualTargetPercentageOn timePercentage
$result.name$result.sources$result.registrations$result.getPercentage()$result.registrationsOnTime$result.getPercentageOnTime()
- - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/htmlReportTableData.vm' --- webservice/dhis-webservice-expoze/src/main/resources/htmlReportTableData.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/htmlReportTableData.vm 1970-01-01 00:00:00 +0000 @@ -1,22 +0,0 @@ - - - - - - - - - #foreach( $column in $object.columns.values() ) - - #end - - #foreach( $row in $object.rows ) - - #foreach( $value in $row.values() ) - - #end - - #end -

$object.name

$column
$value
- - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedDataValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedDataValues.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedDataValues.vm 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -{ "aggregatedDataValues": [ -#foreach( $value in $object ) - { - "dataElementId": ${value.dataElementId}, - "categoryOptionComboId": ${value.categoryOptionComboId}, - "periodId": ${value.periodId}, - "periodTypeId": ${value.periodTypeId}, - "organisationUnitId": ${value.organisationUnitId}, - "level": ${value.level}, - "value": ${value.value} - }, -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedIndicatorValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedIndicatorValues.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedIndicatorValues.vm 1970-01-01 00:00:00 +0000 @@ -1,16 +0,0 @@ -{ "aggregatedIndicatorValues": [ -#foreach( $value in $object ) - { - "indicatorId": ${value.indicatorId}, - "periodId": ${value.periodId}, - "periodTypeId": ${value.periodTypeId}, - "organisationUnitId": ${value.organisationUnitId}, - "level": ${value.level}, - "annualized": ${value.annualized}, - "factor": ${value.factor}, - "value": ${value.value}, - "numeratorValue": ${value.numeratorValue}, - "denominatorValue": ${value.denominatorValue} - }, -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedMapValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedMapValues.vm 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonAggregatedMapValues.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ -{ "mapvalues": [ -#foreach( $value in $object ) - { - "organisationUnitId": $!{value.organisationUnitId}, - "geoCode": "$!{value.geoCode}", - "orgUnit": "$!{value.organisationUnitName}", - "value": $!{value.value} - }, -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonCharts.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonCharts.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonCharts.vm 1970-01-01 00:00:00 +0000 @@ -1,8 +0,0 @@ -{ "charts": [ -#foreach( $chart in $object ) - { - "id": $!{chart.id}, - "title": "$!{chart.title}" - }, -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonDataElement.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonDataElement.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonDataElement.vm 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -{ "dataElement": - { - "id": $!{object.id}, - "name": "$!{object.name}", - "alternativeName": "$!{object.alternativeNamee}", - "shortName": "$!{object.shortName}", - "code": "$!{object.code}", - "description": "$!{object.description}", - "active": "$!{object.active}", - "type": "$!{object.type}", - "aggregationOperator": "$!{object.aggregationOperator}" - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonDataElements.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonDataElements.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonDataElements.vm 1970-01-01 00:00:00 +0000 @@ -1,16 +0,0 @@ -#set( $size = $object.size() ) -{ "dataElements": [ -#foreach( $dataElement in $object ) - { - "id": $!{dataElement.id}, - "name": "$!{dataElement.name}", - "alternativeName": "$!{dataElement.alternativeNamee}", - "shortName": "$!{dataElement.shortName}", - "code": "$!{dataElement.code}", - "description": "$!{dataElement.description}", - "active": "$!{dataElement.active}", - "type": "$!{dataElement.type}", - "aggregationOperator": "$!{dataElement.aggregationOperator}" - }#if( $velocityCount < $size ),#end -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonDataSet.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonDataSet.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonDataSet.vm 1970-01-01 00:00:00 +0000 @@ -1,8 +0,0 @@ -{ "dataSet": - { - "id": $!{object.id}, - "name": "$!{object.name}", - "shortName": "$!{object.shortName}", - "periodTypeId": "$!{object.periodTypeId}" - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonDataSets.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonDataSets.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonDataSets.vm 1970-01-01 00:00:00 +0000 @@ -1,11 +0,0 @@ -#set( $size = $object.size() ) -{ "dataSets": [ -#foreach( $dataSet in $object ) - { - "id": $!{dataSet.id}, - "name": "$!{dataSet.name}", - "shortName": "$!{dataSet.shortName}", - "periodTypeId": "$!{dataSet.periodTypeId}" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonIndicator.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonIndicator.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonIndicator.vm 1970-01-01 00:00:00 +0000 @@ -1,17 +0,0 @@ -{ "indicator": - { - "id": $!{object.id}, - "name": "$!{object.name}", - "alternativeName": "$!{object.alternativeNamee}", - "shortName": "$!{object.shortName}", - "code": "$!{object.code}", - "annualized": "${object.annualized}", - "indicatorTypeId": "$!{object.indicatorType.id}", - "numerator": "$!{object.numerator}", - "numeratorDescription": "$!{object.numeratorDescription}", - "numeratorAggregationOperator": "$!{object.numeratorAggregationOperator}", - "denominator": "$!{object.denominator}", - "denominatorDescription": "$!{object.denominatorDescription}", - "denominatorAggregationOperator": "$!{object.denominatorAggregationOperator}" - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonIndicatorGroups.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonIndicatorGroups.vm 2009-03-10 15:09:59 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonIndicatorGroups.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#set( $size = $object.size() ) -{ "indicatorGroups": [ -#foreach( $indicatorGroup in $object ) - { - "id": $!{indicatorGroup.id}, - "name": "$!{indicatorGroup.name}", - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonIndicators.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonIndicators.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonIndicators.vm 1970-01-01 00:00:00 +0000 @@ -1,20 +0,0 @@ -#set( $size = $object.size() ) -{ "indicators": [ -#foreach( $indicator in $object ) - { - "id": $!{indicator.id}, - "name": "$!encoder.jsonEncode( ${indicator.name} )", - "alternativeName": "$!encoder.jsonEncode( ${indicator.alternativeNamee} )", - "shortName": "$!encoder.jsonEncode( ${indicator.shortName} )", - "code": "$!encoder.jsonEncode( ${indicator.code} )", - "annualized": "${indicator.annualized}", - "indicatorTypeId": $!{indicator.indicatorType.id}, - "numerator": "$!encoder.jsonEncode( ${indicator.numerator} )", - "numeratorDescription": "$!encoder.jsonEncode( ${indicator.numeratorDescription} )", - "numeratorAggregationOperator": "$!encoder.jsonEncode( ${indicator.numeratorAggregationOperator} )", - "denominator": "$!encoder.jsonEncode( ${indicator.denominator} )", - "denominatorDescription": "$!encoder.jsonEncode( ${indicator.denominatorDescription} )", - "denominatorAggregationOperator": "$!encoder.jsonEncode( ${indicator.denominatorAggregationOperator} )" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonLegendMinMax.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonLegendMinMax.vm 2009-03-10 15:09:59 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonLegendMinMax.vm 1970-01-01 00:00:00 +0000 @@ -1,11 +0,0 @@ -{ "legendSet": [ - { - "id": $!{object.id}, - "name": "$!{object.name}", - "min-value": "$!{object.getMinLegend().min}", - "min-color": "$!{object.getMinLegend().color}", - "max-value": "$!{object.getMaxLegend().max}", - "max-color": "$!{object.getMaxLegend().color}" - } - ] -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonMap.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonMap.vm 2009-04-14 12:17:30 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonMap.vm 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -{ "map": - { - "id": $!{object.id}, - "mapLayerPath": "$!encoder.jsonEncode( ${object.mapLayerPath} )", - "organisationUnit": "$!encoder.jsonEncode( ${object.organisationUnit.name} )", - "organisationUnitLevel": $!{object.organisationUnitLevel.level}, - "uniqueColumn": "$!encoder.jsonEncode( ${object.uniqueColumn} )", - "nameColumn": "$!encoder.jsonEncode( ${object.nameColumn} )", - "longitude": "$!encoder.jsonEncode( ${object.longitude} )", - "latitude": "$!encoder.jsonEncode( ${object.latitude} )", - "zoom": $!{object.zoom} - } -} \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonMapOrganisationUnitRelations.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonMapOrganisationUnitRelations.vm 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonMapOrganisationUnitRelations.vm 1970-01-01 00:00:00 +0000 @@ -1,12 +0,0 @@ -#set( $size = $object.size() ) -{ "mapOrganisationUnitRelations": [ -#foreach( $mapOrganisationUnitRelation in $object ) - { - "id": $!{mapOrganisationUnitRelation.id}, - "map": "$!encoder.jsonEncode( ${mapOrganisationUnitRelation.map.mapLayerPath} )", - "organisationUnit": "$!encoder.jsonEncode( ${mapOrganisationUnitRelation.organisationUnit.name} )", - "organisationUnitId": $!{mapOrganisationUnitRelation.organisationUnit.id}, - "featureId": "$!{mapOrganisationUnitRelation.featureId}" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonMaps.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonMaps.vm 2009-04-14 12:17:30 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonMaps.vm 1970-01-01 00:00:00 +0000 @@ -1,16 +0,0 @@ -#set( $size = $object.size() ) -{ "maps": [ -#foreach( $map in $object ) - { - "id": $!{map.id}, - "mapLayerPath": "$!encoder.jsonEncode( ${map.mapLayerPath} )", - "organisationUnit": "$!encoder.jsonEncode( ${map.organisationUnit.name} )", - "organisationUnitLevel": $!{map.organisationUnitLevel.level}, - "uniqueColumn": "$!encoder.jsonEncode( ${map.uniqueColumn} )", - "nameColumn": "$!encoder.jsonEncode( ${map.nameColumn} )", - "longitude": "$!encoder.jsonEncode( ${map.longitude} )", - "latitude": "$!encoder.jsonEncode( ${map.latitude} )", - "zoom": $!{map.zoom} - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnit.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnit.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnit.vm 1970-01-01 00:00:00 +0000 @@ -1,15 +0,0 @@ -{ "organisationUnit": - { - "id": $!{object.id}, - "name": "$!{object.name}", - "shortName": "$!{object.shortName}", - "code": "$!{object.code}", - "openingDate": "$!{object.openingDate}", - "closedDate": "$!{object.closedDate}", - "active": "$!{object.active}", - "comment": "$!{object.comment}", - "geoCode": "$!{object.geoCode}", - "latitude": "$!{object.latitude}", - "longitude": "$!{object.longitude}" - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnitLevels.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnitLevels.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnitLevels.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ -#set( $size = $object.size() ) -{ "organisationUnitLevels": [ -#foreach ( $level in $object ) - { - "id": $!{level.id}, - "level": $!{level.level}, - "name": "$!{level.name}" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnits.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnits.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonOrganisationUnits.vm 1970-01-01 00:00:00 +0000 @@ -1,19 +0,0 @@ -#set( $size = $object.size() ) -{ "organisationUnits": [ -#foreach ( $unit in $object ) - { - "id": $!{unit.id}, - "name": "$!{unit.name}", - "shortName": "$!{unit.shortName}", - "code": "$!{unit.code}", - "openingDate": "$!{unit.openingDate}", - "closedDate": "$!{unit.closedDate}", - "active": "$!{unit.active}", - "comment": "$!{unit.comment}", - "geoCode": "$!{unit.geoCode}", - "latitude": "$!{unit.latitude}", - "longitude": "$!{unit.longitude}" - }#if( $velocityCount < $size ),#end -#end -] } - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonPeriodTypes.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonPeriodTypes.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonPeriodTypes.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#set( $size = $object.size() ) -{ "periodTypes": [ -#foreach( $periodType in $object ) - { - "id": $!{periodType.id}, - "name": "$!{periodType.name}" - }#if( $velocityCount < $size ),#end -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonPeriods.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonPeriods.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonPeriods.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ -#set( $size = $object.size() ) -{ "periods": [ -#foreach( $period in $object ) - { - "id": $!{period.id}, - "startDate": "$!format.formatDate( ${period.startDate} )", - "endDate": "$!format.formatDate( ${period.endDate} )" - }#if( $velocityCount < $size ),#end -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonPivotTable.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonPivotTable.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonPivotTable.vm 1970-01-01 00:00:00 +0000 @@ -1,34 +0,0 @@ -{ - "pivotTable": - { - "sizeIndicators": "$object.indicators.size()", - "sizePeriods": "$object.periods.size()", - "sizeOrganisationUnits": "$object.organisationUnits.size()", - "indicators": - [ - #foreach( $indicator in $object.indicators ) - { "id": "${indicator.id}", "name": "${indicator.shortName}" }, - #end - ], - "periods": - [ - #foreach( $period in $object.periods ) - { "id": "${period.id}", "name": "${period.name}" }, - #end - ], - "organisationUnits": - [ - #foreach( $organisationUnit in $object.organisationUnits ) - { "id": "${organisationUnit.id}", "name": "${organisationUnit.shortName}" }, - #end - ], - "indicatorValues": - [ - { - #foreach( $value in $object.indicatorValues ) - "${value.indicatorId}-${value.periodId}-${value.organisationUnitId}": "${value.value}", - #end - } - ] - } -} \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonReportTable.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonReportTable.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonReportTable.vm 1970-01-01 00:00:00 +0000 @@ -1,6 +0,0 @@ -{ "reportTable": - { - "id": $!{object.id}, - "name": "$!{object.name}" - } -} === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonReportTables.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonReportTables.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonReportTables.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#set( $size = $object.size() ) -{ "reportTables": [ -#foreach( $reportTable in $object ) - { - "id": $!{reportTable.id}, - "name": "$!{reportTable.name}" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonminDataElements.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonminDataElements.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonminDataElements.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#set( $size = $object.size() ) -{ "dataElements": [ -#foreach( $dataElement in $object ) - { - "id": $!{dataElement.id}, - "name": "$!{dataElement.name}" - }#if( $velocityCount < $size ),#end -#end -] } === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonminIndicators.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonminIndicators.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonminIndicators.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#set( $size = $object.size() ) -{ "indicators": [ -#foreach( $indicator in $object ) - { - "id": $!{indicator.id}, - "name": "$!encoder.jsonEncode( ${indicator.name} )" - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/jsonminMaps.vm' --- webservice/dhis-webservice-expoze/src/main/resources/jsonminMaps.vm 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/jsonminMaps.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ -#set( $size = $object.size() ) -{ "maps": [ -#foreach( $map in $object ) - { - "id": $!{map.id}, - "mapLayerPath": "$!encoder.jsonEncode( ${map.mapLayerPath} )", - "organisationUnitLevel": $!{map.organisationUnitLevel.level} - }#if( $velocityCount < $size ),#end -#end -] } \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedDataValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedDataValues.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedDataValues.vm 1970-01-01 00:00:00 +0000 @@ -1,14 +0,0 @@ - - -#foreach( $value in $object ) - - $value.dataElementId - $value.categoryOptionComboId - $value.periodId - $value.periodTypeId - $value.organisationUnitId - $value.level - $value.value - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedIndicatorValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedIndicatorValues.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedIndicatorValues.vm 1970-01-01 00:00:00 +0000 @@ -1,17 +0,0 @@ - - -#foreach( $value in $object ) - - $value.indicatorId - $value.periodId - $value.periodTypeId - $value.organisationUnitId - $value.level - $value.annualized - $value.factor - $value.value - $value.numeratorValue - $value.denominatorValue - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedMapValues.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedMapValues.vm 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlAggregatedMapValues.vm 1970-01-01 00:00:00 +0000 @@ -1,11 +0,0 @@ - - -#foreach( $value in $object ) - - $value.organisationUnitId - $value.geoCode - $value.organisationUnitName - $value.value - -#end - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlCharts.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlCharts.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlCharts.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ - - -#foreach( $chart in $object ) - - $chart.id - $!encoder.xmlEncode( $chart.title ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlDataCompleteness.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlDataCompleteness.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlDataCompleteness.vm 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ - - -#foreach( $result in $object ) - - $!encoder.xmlEncode( $result.name ) - $result.sources - $result.registrations - $result.getPercentage() - $result.registrationsOnTime - $result.getPercentageOnTime() - -#end - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlDataElement.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlDataElement.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlDataElement.vm 1970-01-01 00:00:00 +0000 @@ -1,12 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - $!encoder.xmlEncode( $object.alternativeName ) - $!encoder.xmlEncode( $object.shortName ) - $!encoder.xmlEncode( $object.code ) - $!encoder.xmlEncode( $object.description ) - $object.active - $!encoder.xmlEncode( $object.type ) - $!encoder.xmlEncode( $object.aggregationOperator ) - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlDataElements.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlDataElements.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlDataElements.vm 1970-01-01 00:00:00 +0000 @@ -1,16 +0,0 @@ - - -#foreach( $dataElement in $object ) - - $dataElement.id - $!encoder.xmlEncode( $dataElement.name ) - $!encoder.xmlEncode( $dataElement.alternativeName ) - $!encoder.xmlEncode( $dataElement.shortName ) - $!encoder.xmlEncode( $dataElement.code ) - $!encoder.xmlEncode( $dataElement.description ) - $dataElement.active - $!encoder.xmlEncode( $dataElement.type ) - $!encoder.xmlEncode( $dataElement.aggregationOperator ) - -#end - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlDataSet.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlDataSet.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlDataSet.vm 1970-01-01 00:00:00 +0000 @@ -1,7 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - $!encoder.xmlEncode( $object.shortName ) - $object.periodType.id - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlDataSets.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlDataSets.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlDataSets.vm 1970-01-01 00:00:00 +0000 @@ -1,11 +0,0 @@ - - -#foreach( $dataSet in $object ) - - $dataSet.id - $!encoder.xmlEncode( $dataSet.name ) - $!encoder.xmlEncode( $dataSet.shortName ) - $dataSet.periodType.id - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlIndicator.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlIndicator.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlIndicator.vm 1970-01-01 00:00:00 +0000 @@ -1,17 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - $!encoder.xmlEncode( $object.alternativeName ) - $!encoder.xmlEncode( $object.shortName ) - $!encoder.xmlEncode( $object.code ) - $!encoder.xmlEncode( $object.description ) - $object.annualized - $object.indicatorType.id - $!encoder.xmlEncode( $object.numerator ) - $!encoder.xmlEncode( $object.numeratorDescription ) - $!encoder.xmlEncode( $object.numeratorAggregationOperator ) - $!encoder.xmlEncode( $object.denominator ) - $!encoder.xmlEncode( $object.denominatorDescription ) - $!encoder.xmlEncode( $object.denominatorAggregationOperator ) - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlIndicatorGroups.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlIndicatorGroups.vm 2009-03-10 15:09:59 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlIndicatorGroups.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ - - -#foreach( $indicatorGroup in $object ) - - $indicatorGroup.id - $!encoder.xmlEncode( $indicatorGroup.name ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlIndicators.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlIndicators.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlIndicators.vm 1970-01-01 00:00:00 +0000 @@ -1,21 +0,0 @@ - - -#foreach( $indicator in $object ) - - $indicator.id - $!encoder.xmlEncode( $indicator.name ) - $!encoder.xmlEncode( $indicator.alternativeName ) - $!encoder.xmlEncode( $indicator.shortName ) - $!encoder.xmlEncode( $indicator.code ) - $!encoder.xmlEncode( $indicator.description ) - $indicator.annualized - $indicator.indicatorType.id - $!encoder.xmlEncode( $indicator.numerator ) - $!encoder.xmlEncode( $indicator.numeratorDescription ) - $!encoder.xmlEncode( $indicator.numeratorAggregationOperator ) - $!encoder.xmlEncode( $indicator.denominator ) - $!encoder.xmlEncode( $indicator.denominatorDescription ) - $!encoder.xmlEncode( $indicator.denominatorAggregationOperator ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlLegendMinMax.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlLegendMinMax.vm 2009-03-10 15:09:59 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlLegendMinMax.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - $!object.getMinLegend().min - $!object.getMinLegend().color - $!object.getMaxLegend().max - $!object.getMaxLegend().color - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlMap.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlMap.vm 2009-04-14 12:17:30 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlMap.vm 1970-01-01 00:00:00 +0000 @@ -1,12 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.mapLayerPath ) - $!encoder.xmlEncode( $object.organisationUnit.name ) - $object.organisationUnitLevel.level - $!encoder.xmlEncode( $object.uniqueColumn ) - $!encoder.xmlEncode( $object.nameColumn ) - $!encoder.xmlEncode( $object.longitude ) - $!encoder.xmlEncode( $object.latitude ) - $object.zoom - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlMapOrganisationUnitRelations.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlMapOrganisationUnitRelations.vm 2009-04-06 18:55:31 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlMapOrganisationUnitRelations.vm 1970-01-01 00:00:00 +0000 @@ -1,12 +0,0 @@ - - -#foreach( $mapOrganisationUnitRelation in $object ) - - $mapOrganisationUnitRelation.id - $!encoder.xmlEncode( $mapOrganisationUnitRelation.map.mapLayerPath ) - $!encoder.xmlEncode( $mapOrganisationUnitRelation.organisationUnit.name ) - $mapOrganisationUnitRelation.organisationUnit.id - $!encoder.xmlEncode( $mapOrganisationUnitRelation.featureId ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlMaps.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlMaps.vm 2009-04-14 12:17:30 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlMaps.vm 1970-01-01 00:00:00 +0000 @@ -1,16 +0,0 @@ - - -#foreach( $map in $object ) - - $map.id - $!encoder.xmlEncode( $map.mapLayerPath ) - $!encoder.xmlEncode( $map.organisationUnit.name ) - $map.organisationUnitLevel.level - $!encoder.xmlEncode( $map.uniqueColumn ) - $!encoder.xmlEncode( $map.nameColumn ) - $!encoder.xmlEncode( $map.longitude ) - $!encoder.xmlEncode( $map.latitude ) - $map.zoom - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnit.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnit.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnit.vm 1970-01-01 00:00:00 +0000 @@ -1,14 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - $!encoder.xmlEncode( $object.shortName ) - $!encoder.xmlEncode( $object.organisationUnitCode ) - $!format.formatPeriod( $object.openingDate ) - $!format.formatPeriod( $object.closedDate ) - $object.active - $!encoder.xmlEncode( $object.comment ) - $!encoder.xmlEncode( $object.geoCode ) - $!encoder.xmlEncode( $object.latitude ) - $!encoder.xmlEncode( $object.longitude ) - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnitLevels.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnitLevels.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnitLevels.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ - - -#foreach ( $level in $object ) - - $level.id - $level.level - $!encoder.xmlEncode( $level.name ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnits.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnits.vm 2009-03-18 11:05:02 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlOrganisationUnits.vm 1970-01-01 00:00:00 +0000 @@ -1,18 +0,0 @@ - - -#foreach ( $unit in $object ) - - $unit.id - $!encoder.xmlEncode( $unit.name ) - $!encoder.xmlEncode( $unit.shortName ) - $!encoder.xmlEncode( $unit.organisationUnitCode ) - $!format.formatPeriod( $unit.openingDate ) - $!format.formatPeriod( $unit.closedDate ) - $unit.active - $!encoder.xmlEncode( $unit.comment ) - $!encoder.xmlEncode( $unit.geoCode ) - $!encoder.xmlEncode( $unit.latitude ) - $!encoder.xmlEncode( $unit.longitude ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlPeriodTypes.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlPeriodTypes.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlPeriodTypes.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ - - -#foreach( $periodType in $object ) - - $periodType.id - $encoder.xmlEncode( $periodType.name ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlPeriods.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlPeriods.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlPeriods.vm 1970-01-01 00:00:00 +0000 @@ -1,10 +0,0 @@ - - -#foreach( $period in $object ) - - $period.id - $!format.formatDate( $period.startDate ) - $!format.formatDate( $period.endDate ) - -#end - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlReportTable.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlReportTable.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlReportTable.vm 1970-01-01 00:00:00 +0000 @@ -1,5 +0,0 @@ - - - $object.id - $!encoder.xmlEncode( $object.name ) - \ No newline at end of file === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlReportTableData.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlReportTableData.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlReportTableData.vm 1970-01-01 00:00:00 +0000 @@ -1,18 +0,0 @@ - - - $!encoder.xmlEncode( $object.name ) - - #foreach( $key in $object.columns.keySet() ) - $object.columns.get( $key ) - #end - - - #foreach( $row in $object.rows ) - - #foreach( $key in $row.keySet() ) - $row.get( $key ) - #end - - #end - - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlReportTables.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlReportTables.vm 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlReportTables.vm 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ - - -#foreach ( $table in $object ) - - $table.id - $!encoder.xmlEncode( $table.name ) - -#end - === removed file 'webservice/dhis-webservice-expoze/src/main/resources/xmlcompOrganisationUnits.vm' --- webservice/dhis-webservice-expoze/src/main/resources/xmlcompOrganisationUnits.vm 2009-03-10 15:09:59 +0000 +++ webservice/dhis-webservice-expoze/src/main/resources/xmlcompOrganisationUnits.vm 1970-01-01 00:00:00 +0000 @@ -1,6 +0,0 @@ - - -#foreach ( $unit in $object ) - -#end - \ No newline at end of file === removed directory 'webservice/dhis-webservice-expoze/src/main/webapp' === removed directory 'webservice/dhis-webservice-expoze/src/main/webapp/WEB-INF' === removed file 'webservice/dhis-webservice-expoze/src/main/webapp/WEB-INF/web.xml' --- webservice/dhis-webservice-expoze/src/main/webapp/WEB-INF/web.xml 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/webapp/WEB-INF/web.xml 1970-01-01 00:00:00 +0000 @@ -1,30 +0,0 @@ - - - - DHIS WebService - - - - - contextConfigLocation - classpath*:/META-INF/dhis/beans.xml - - - - org.springframework.web.context.ContextLoaderListener - - - - - - SpringWebService - org.amplecode.expoze.dispatcher.SpringWebServiceServletDispatcher - - - - SpringWebService - *.service - - - === removed directory 'webservice/dhis-webservice-expoze/src/main/webapp/css' === removed file 'webservice/dhis-webservice-expoze/src/main/webapp/css/stylesheet.css' --- webservice/dhis-webservice-expoze/src/main/webapp/css/stylesheet.css 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/webapp/css/stylesheet.css 1970-01-01 00:00:00 +0000 @@ -1,51 +0,0 @@ - -* -{ - font-family: tahoma, sans-serif; - line-height: 125%; - font-size: 9pt; -} - -h3 -{ - font-size: 11pt; - color: #606060; -} - -.listTable -{ - width: 100%; - border-collapse: collapse; -} - -.listTable th -{ - background-image: url('../images/head.png'); - background-repeat: repeat-x; - text-align: left; - color: #3f5d8e; - border-style: solid; - border-width: 1px; - border-color: #99bbe8; - padding-left: 7px; - height: 19px; - font-weight: normal; -} - -.listTable td -{ - padding: 2px; -} - -.listRow -{ - border-bottom: 1px solid #cad5e5; - text-align: center; -} - -.listAlternateRow -{ - border-bottom: 1px solid #cad5e5; - background-color: #ebf0f6; - text-align: center; -} === removed directory 'webservice/dhis-webservice-expoze/src/main/webapp/images' === removed file 'webservice/dhis-webservice-expoze/src/main/webapp/images/head.png' Binary files webservice/dhis-webservice-expoze/src/main/webapp/images/head.png 2009-03-03 16:46:36 +0000 and webservice/dhis-webservice-expoze/src/main/webapp/images/head.png 1970-01-01 00:00:00 +0000 differ === removed file 'webservice/dhis-webservice-expoze/src/main/webapp/index.html' --- webservice/dhis-webservice-expoze/src/main/webapp/index.html 2009-03-03 16:46:36 +0000 +++ webservice/dhis-webservice-expoze/src/main/webapp/index.html 1970-01-01 00:00:00 +0000 @@ -1,2 +0,0 @@ - - \ No newline at end of file