annotate gnv/src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java @ 952:902d4de27c37

Add more Javadocs gnv/trunk@1096 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 17 May 2010 14:21:19 +0000
parents 57fa8019fbdc
children 28a0628b11b0
rev   line source
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 package de.intevation.gnv.action.mapviewer;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 import javax.servlet.http.HttpServletRequest;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
4 import javax.servlet.http.HttpServletResponse;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 import org.apache.log4j.Logger;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
7 import org.apache.struts.action.ActionForm;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8 import org.apache.struts.action.ActionForward;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9 import org.apache.struts.action.ActionMapping;
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10
952
902d4de27c37 Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
11 import de.intevation.gnv.action.ArtifactDatabaseActionBase;
902d4de27c37 Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
12
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 /**
952
902d4de27c37 Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
14 * This class provides the businesslogic to show the demo GUI for
902d4de27c37 Add more Javadocs
Tim Englich <tim.englich@intevation.de>
parents: 684
diff changeset
15 * testing the MV-GNV-Interface.
684
57fa8019fbdc Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 683
diff changeset
16 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
17 */
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
18 public class ShowMapViewerCallBodyAction extends ArtifactDatabaseActionBase {
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
19
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
20 /**
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
21 * the logger, used to log exceptions and additionally information
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
22 */
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
23 private static Logger log = Logger
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
24 .getLogger(ShowMapViewerCallBodyAction.class);
681
15ac78a91d1b Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 566
diff changeset
25
566
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
26 /**
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
27 * Constructor
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
28 */
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
29 public ShowMapViewerCallBodyAction() {
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
30 super();
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
31 }
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
32
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
33 @Override
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
34 public ActionForward execute(ActionMapping mapping, ActionForm form,
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
35 HttpServletRequest request,
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
36 HttpServletResponse response) throws Exception {
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
37 log.debug("ShowMapViewerCallBodyAction.execute");
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
38 request.setAttribute("MAPVIEWERCALL", new Boolean(true));
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
39 return super.execute(mapping, form, request, response);
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
40 }
5aea89b9a350 Modified the GUI that the Form with the MapViewer-Interface-Request-Body only will be shown using an explicit Action-Call.
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
41 }

http://dive4elements.wald.intevation.org