diff options
Diffstat (limited to 'src/org/traccar/web/client/model/DataServiceAsync.java')
-rw-r--r-- | src/org/traccar/web/client/model/DataServiceAsync.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/model/DataServiceAsync.java b/src/org/traccar/web/client/model/DataServiceAsync.java index 559545d9..b1830639 100644 --- a/src/org/traccar/web/client/model/DataServiceAsync.java +++ b/src/org/traccar/web/client/model/DataServiceAsync.java @@ -35,8 +35,14 @@ public interface DataServiceAsync { void register(String login, String password, AsyncCallback<User> callback); + void getUsers(AsyncCallback<List<User>> callback); + + void addUser(User user, AsyncCallback<User> callback); + void updateUser(User user, AsyncCallback<User> callback); + void removeUser(User user, AsyncCallback<User> callback); + void getDevices(AsyncCallback<List<Device>> callback); void addDevice(Device device, AsyncCallback<Device> callback); |