# HG changeset patch # User Sascha L. Teichmann # Date 1334857701 0 # Node ID 2a504b6d9a1b893865ec138ed728f38f6356bbd2 # Parent 88d44cae592e59d81168244811a614aef669c950 Added stub for fixings overview service. flys-client/trunk@4278 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 88d44cae592e -r 2a504b6d9a1b flys-client/ChangeLog --- a/flys-client/ChangeLog Thu Apr 19 11:00:18 2012 +0000 +++ b/flys-client/ChangeLog Thu Apr 19 17:48:21 2012 +0000 @@ -1,3 +1,13 @@ +2012-04-19 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java, + src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java, + src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java: + New. Stub for overview service to be called from JS side to generate the fixings + overview. + + * src/main/webapp/WEB-INF/web.xml: Registered new overview service. + 2012-04-19 Sascha L. Teichmann * src/main/java/de/intevation/flys/client/server/FixingsKMChartServiceImpl.java: diff -r 88d44cae592e -r 2a504b6d9a1b flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java Thu Apr 19 17:48:21 2012 +0000 @@ -0,0 +1,17 @@ +package de.intevation.flys.client.client.services; + +import com.google.gwt.user.client.rpc.RemoteService; +import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; + +import de.intevation.flys.client.shared.exceptions.ServerException; + +@RemoteServiceRelativePath("fixings-overview") +public interface FixingsOverviewService extends RemoteService { + + String generateOverview( + String uuid, + boolean checkboxes, + String filter + ) throws ServerException; +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : diff -r 88d44cae592e -r 2a504b6d9a1b flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java Thu Apr 19 17:48:21 2012 +0000 @@ -0,0 +1,13 @@ +package de.intevation.flys.client.client.services; + +import com.google.gwt.user.client.rpc.AsyncCallback; + +public interface FixingsOverviewServiceAsync { + + void generateOverview( + String uuid, + boolean checkboxes, + String filter, + AsyncCallback callback); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : diff -r 88d44cae592e -r 2a504b6d9a1b flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java Thu Apr 19 17:48:21 2012 +0000 @@ -0,0 +1,25 @@ +package de.intevation.flys.client.server; + +import com.google.gwt.user.server.rpc.RemoteServiceServlet; + +import de.intevation.flys.client.client.services.FixingsOverviewService; + +import de.intevation.flys.client.shared.exceptions.ServerException; + +public class FixingsOverviewServiceImpl +extends RemoteServiceServlet +implements FixingsOverviewService +{ + @Override + public String generateOverview( + String uuid, + boolean checkboxes, + String filter + ) + throws ServerException + { + // TODO: Implement me! + return ""; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : diff -r 88d44cae592e -r 2a504b6d9a1b flys-client/src/main/webapp/WEB-INF/web.xml --- a/flys-client/src/main/webapp/WEB-INF/web.xml Thu Apr 19 11:00:18 2012 +0000 +++ b/flys-client/src/main/webapp/WEB-INF/web.xml Thu Apr 19 17:48:21 2012 +0000 @@ -104,6 +104,16 @@ + fixings-overview + de.intevation.flys.client.server.FixingsOverview + + + + fixings-overview + /flys/fixings-overview + + + advance de.intevation.flys.client.server.AdvanceServiceImpl