annotate flys-client/src/main/java/de/intevation/flys/client/client/services/UserCollectionsServiceAsync.java @ 4214:e39ac9767a69

Implement UserService method to remove current user from session For being able to logout a user UserService must provide a method the remove the current user object from the session. Part of flys/issue916 (Logout: "Abmelden" Knopf mit Funktion belegen)
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 23 Oct 2012 09:57:42 +0200
parents 07b9404d7170
children
rev   line source
96
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.client.client.services;
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 import com.google.gwt.user.client.rpc.AsyncCallback;
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
5 import de.intevation.flys.client.shared.model.Collection;
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 /**
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9 * This interface describes a method that retrieves a list of Collections owned
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 * by a specified user.
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 *
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 */
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14 public interface UserCollectionsServiceAsync {
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 void getUserCollections(
229
924da6695800 Each service is now called with the name of the current locale to set the request object's locale manually in the HttpClient.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
17 String locale,
96
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18 String userid,
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19 AsyncCallback<Collection[]> callback);
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20 }
261a2ee7d9bb Added a service that returns the collections of a specified user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
21 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org