Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/services/ModuleService.java @ 3515:70c0942156ad
Add service to list available modules for a user
The new service returns a list of modules that a user is allowed to access.
flys-client/trunk@5289 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 29 Aug 2012 10:43:36 +0000 |
parents | |
children | 72d2ec6a471e |
comparison
equal
deleted
inserted
replaced
3514:1f293ada93d0 | 3515:70c0942156ad |
---|---|
1 package de.intevation.flys.client.client.services; | |
2 | |
3 import com.google.gwt.user.client.rpc.RemoteService; | |
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; | |
5 | |
6 import de.intevation.flys.client.shared.model.Module; | |
7 | |
8 @RemoteServiceRelativePath("modules") | |
9 public interface ModuleService extends RemoteService { | |
10 | |
11 /** | |
12 * Returns the list of available modules of a user | |
13 * | |
14 * @param locale The locale used for the request | |
15 * @return a String array of all available modules | |
16 * | |
17 */ | |
18 public Module[] list(String locale); | |
19 } | |
20 | |
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 : |