aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/DataManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-12 00:56:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-12 00:56:03 +1300
commit900cbdd8b23cf0e9266523b21f2251510fcc1468 (patch)
treeffe824e491bd01a2df1e144a820ec175834d07f8 /src/org/traccar/model/DataManager.java
parentf10f359d0531417b11a2a0fa1862efd6eae742b9 (diff)
downloadtrackermap-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.gz
trackermap-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.bz2
trackermap-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.zip
Integrate new web interface
Diffstat (limited to 'src/org/traccar/model/DataManager.java')
-rw-r--r--src/org/traccar/model/DataManager.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/org/traccar/model/DataManager.java b/src/org/traccar/model/DataManager.java
index 423c540da..4a5aaa348 100644
--- a/src/org/traccar/model/DataManager.java
+++ b/src/org/traccar/model/DataManager.java
@@ -26,17 +26,12 @@ public interface DataManager {
* Manage devices
*/
public List<Device> getDevices() throws Exception;
- public void addDevice(Device device) throws Exception;
- public void updateDevice(Device device) throws Exception;
- public void removeDevice(Device device) throws Exception;
public Device getDeviceByImei(String imei) throws Exception;
- public Device getDeviceByPhoneNumber(String phoneNumber) throws Exception;
- public Device getDeviceByUniqueId(String uniqueId) throws Exception;
/**
* Manage positions
*/
- public void addPosition(Position position) throws Exception;
- public List<Position> getPositions(Long deviceId) throws Exception;
+ public Long addPosition(Position position) throws Exception;
+ public void updateLatestPosition(Long deviceId, Long positionId) throws Exception;
}