diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-20 22:35:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-20 22:35:43 +1300 |
commit | 6801698dfc9c99b34d7ed081ebcfbec4a8853868 (patch) | |
tree | cecc80f811b6c3a594b9da272a7c65d3a9695315 /src/org/traccar/web/client/model/DataServiceAsync.java | |
parent | 0e766c9024e2457320f64353e29bb5e2d8294b28 (diff) | |
download | trackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.tar.gz trackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.tar.bz2 trackermap-web-6801698dfc9c99b34d7ed081ebcfbec4a8853868.zip |
Added account dialog
Diffstat (limited to 'src/org/traccar/web/client/model/DataServiceAsync.java')
-rw-r--r-- | src/org/traccar/web/client/model/DataServiceAsync.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/model/DataServiceAsync.java b/src/org/traccar/web/client/model/DataServiceAsync.java index c0478fb8..689e6993 100644 --- a/src/org/traccar/web/client/model/DataServiceAsync.java +++ b/src/org/traccar/web/client/model/DataServiceAsync.java @@ -21,6 +21,7 @@ import java.util.List; import org.traccar.web.shared.model.ApplicationSettings; import org.traccar.web.shared.model.Device; import org.traccar.web.shared.model.Position; +import org.traccar.web.shared.model.User; import com.google.gwt.user.client.rpc.AsyncCallback; @@ -28,11 +29,13 @@ public interface DataServiceAsync { void authenticated(AsyncCallback<Boolean> callback); - void login(String login, String password, AsyncCallback<Boolean> callback); + void login(String login, String password, AsyncCallback<User> callback); void logout(AsyncCallback<Boolean> callback); - void register(String login, String password, AsyncCallback<Boolean> callback); + void register(String login, String password, AsyncCallback<User> callback); + + void updateUser(User user, AsyncCallback<User> callback); void getDevices(AsyncCallback<List<Device>> callback); |