teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.services; bjoern@3515: bjoern@3515: import com.google.gwt.user.client.rpc.RemoteService; bjoern@3515: import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; bjoern@3515: teichmann@5835: import org.dive4elements.river.client.shared.exceptions.ServerException; teichmann@5835: import org.dive4elements.river.client.shared.model.Module; bjoern@3515: bjoern@3515: @RemoteServiceRelativePath("modules") bjoern@3515: public interface ModuleService extends RemoteService { bjoern@3515: bjoern@3515: /** bjoern@3515: * Returns the list of available modules of a user bjoern@3515: * bjoern@3515: * @param locale The locale used for the request bjoern@3515: * @return a String array of all available modules bjoern@3515: * bjoern@3515: */ bjoern@3529: public Module[] list(String locale) throws ServerException; bjoern@3515: } bjoern@3515: bjoern@3515: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 :