aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/DataService.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-20 22:35:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-20 22:35:43 +1300
commit6801698dfc9c99b34d7ed081ebcfbec4a8853868 (patch)
treececc80f811b6c3a594b9da272a7c65d3a9695315 /src/org/traccar/web/client/model/DataService.java
parent0e766c9024e2457320f64353e29bb5e2d8294b28 (diff)
downloadtrackermap-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/DataService.java')
-rw-r--r--src/org/traccar/web/client/model/DataService.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/model/DataService.java b/src/org/traccar/web/client/model/DataService.java
index a16ae51d..859c8128 100644
--- a/src/org/traccar/web/client/model/DataService.java
+++ b/src/org/traccar/web/client/model/DataService.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.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@@ -30,11 +31,13 @@ public interface DataService extends RemoteService {
boolean authenticated();
- boolean login(String login, String password);
+ User login(String login, String password);
boolean logout();
- boolean register(String login, String password);
+ User register(String login, String password);
+
+ User updateUser(User user);
List<Device> getDevices();