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 :