Mercurial > dive4elements > river
view 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 |
line wrap: on
line source
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.model.Module; @RemoteServiceRelativePath("modules") public interface ModuleService extends RemoteService { /** * Returns the list of available modules of a user * * @param locale The locale used for the request * @return a String array of all available modules * */ public Module[] list(String locale); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 :