1 /*
2 * #%L
3 * Coser :: Web
4 * %%
5 * Copyright (C) 2010 - 2011 Ifremer, Codelutin, Chatellier Eric, Chemit Tony
6 * %%
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 * #L%
20 */
21
22 package fr.ifremer.coser.web.actions.com;
23
24 import fr.ifremer.coser.result.request.GetZonesForCommunityIndicatorResultRequest;
25 import fr.ifremer.coser.web.actions.common.CommonZone;
26
27 /**
28 * Affiche la liste des sous zones (zone).
29 *
30 * @author chatellier
31 * @version $Revision$
32 * <p/>
33 * Last update : $Date$
34 * By : $Author$
35 */
36 public class ZoneAction extends CommonZone {
37
38 /** serialVersionUID. */
39 private static final long serialVersionUID = 3385467755357775199L;
40
41 @Override
42 protected GetZonesForCommunityIndicatorResultRequest createZonesRequest() {
43 return requestBuilder(GetZonesForCommunityIndicatorResultRequest.class).
44 addFacade(facade).
45 toRequest();
46 }
47 }