changeset 2489:2a504b6d9a1b

Added stub for fixings overview service. flys-client/trunk@4278 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 19 Apr 2012 17:48:21 +0000 (2012-04-19)
parents 88d44cae592e
children 4d93f9255caa
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewService.java flys-client/src/main/java/de/intevation/flys/client/client/services/FixingsOverviewServiceAsync.java flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java flys-client/src/main/webapp/WEB-INF/web.xml
diffstat 5 files changed, 75 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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	<sascha.teichmann@intevation.de>
+
+	* 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	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/FixingsKMChartServiceImpl.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 :
--- /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<String> callback);
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
--- /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 :
--- 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 @@
   </servlet-mapping>
 
   <servlet>
+    <servlet-name>fixings-overview</servlet-name>
+    <servlet-class>de.intevation.flys.client.server.FixingsOverview</servlet-class>
+  </servlet>
+  
+  <servlet-mapping>
+    <servlet-name>fixings-overview</servlet-name>
+    <url-pattern>/flys/fixings-overview</url-pattern>
+  </servlet-mapping>
+
+  <servlet>
     <servlet-name>advance</servlet-name>
     <servlet-class>de.intevation.flys.client.server.AdvanceServiceImpl</servlet-class>
   </servlet>

http://dive4elements.wald.intevation.org