From 900cbdd8b23cf0e9266523b21f2251510fcc1468 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Jan 2013 00:56:03 +1300 Subject: Integrate new web interface --- src/org/traccar/model/DataManager.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/org/traccar/model/DataManager.java') 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 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 getPositions(Long deviceId) throws Exception; + public Long addPosition(Position position) throws Exception; + public void updateLatestPosition(Long deviceId, Long positionId) throws Exception; } -- cgit v1.2.3