aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web/client/database/DatabaseService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/web/client/database/DatabaseService.java')
-rw-r--r--src/main/java/org/traccar/web/client/database/DatabaseService.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/main/java/org/traccar/web/client/database/DatabaseService.java b/src/main/java/org/traccar/web/client/database/DatabaseService.java
deleted file mode 100644
index 4e68181..0000000
--- a/src/main/java/org/traccar/web/client/database/DatabaseService.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.traccar.web.client.database;
-
-import java.util.Date;
-import java.util.List;
-
-import org.traccar.web.shared.model.Device;
-import org.traccar.web.shared.model.Position;
-
-import com.google.gwt.user.client.rpc.RemoteService;
-import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
-
-@RemoteServiceRelativePath("databaseService")
-public interface DatabaseService extends RemoteService {
-
- boolean authenticated();
-
- boolean authenticate(String login, String password);
-
- boolean register(String login, String password);
-
- List<Device> getDevices();
-
- boolean storeDevice(Device device);
-
- boolean removeDevice(Device device);
-
- List<Position> getPositions(Device device, Date from, Date to);
-
- List<Position> getLatestPositions();
-
-}