diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:56:03 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:56:03 +1300 |
commit | 900cbdd8b23cf0e9266523b21f2251510fcc1468 (patch) | |
tree | ffe824e491bd01a2df1e144a820ec175834d07f8 /src/org/traccar/model/DataManager.java | |
parent | f10f359d0531417b11a2a0fa1862efd6eae742b9 (diff) | |
download | traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.gz traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.bz2 traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.zip |
Integrate new web interface
Diffstat (limited to 'src/org/traccar/model/DataManager.java')
-rw-r--r-- | src/org/traccar/model/DataManager.java | 9 |
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; } |