comparison flys-client/src/main/java/de/intevation/flys/client/client/services/ModuleService.java @ 3529:72d2ec6a471e

Load the list of modules from the flys artifact server flys-client/trunk@5332 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 31 Aug 2012 13:24:50 +0000
parents 70c0942156ad
children
comparison
equal deleted inserted replaced
3528:b5825159250e 3529:72d2ec6a471e
1 package de.intevation.flys.client.client.services; 1 package de.intevation.flys.client.client.services;
2 2
3 import com.google.gwt.user.client.rpc.RemoteService; 3 import com.google.gwt.user.client.rpc.RemoteService;
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; 4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5 5
6 import de.intevation.flys.client.shared.exceptions.ServerException;
6 import de.intevation.flys.client.shared.model.Module; 7 import de.intevation.flys.client.shared.model.Module;
7 8
8 @RemoteServiceRelativePath("modules") 9 @RemoteServiceRelativePath("modules")
9 public interface ModuleService extends RemoteService { 10 public interface ModuleService extends RemoteService {
10 11
13 * 14 *
14 * @param locale The locale used for the request 15 * @param locale The locale used for the request
15 * @return a String array of all available modules 16 * @return a String array of all available modules
16 * 17 *
17 */ 18 */
18 public Module[] list(String locale); 19 public Module[] list(String locale) throws ServerException;
19 } 20 }
20 21
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 : 22 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 :

http://dive4elements.wald.intevation.org