view flys-client/src/main/java/de/intevation/flys/client/client/services/UserService.java @ 212:e3ea3c74b7f5

Fixed the function to toggle the language and added a warning dialog that informs the user about the creation of a new session. flys-client/trunk@1652 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 07 Apr 2011 10:33:48 +0000
parents 2da6be38d8b6
children 907b61e4d702
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.User;


/**
 * This interface describes services for the user.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {

    /**
     * This method retrieves the user that is currently logged in.
     *
     * @param serverUrl The url of the artifact server.
     *
     * @return the current {@link User}.
     */
    User getCurrentUser(String serverUrl);
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org