diff options
Diffstat (limited to 'src/org/traccar/model/DataManager.java')
-rw-r--r-- | src/org/traccar/model/DataManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/model/DataManager.java b/src/org/traccar/model/DataManager.java index 4a5aaa348..7228409f1 100644 --- a/src/org/traccar/model/DataManager.java +++ b/src/org/traccar/model/DataManager.java @@ -27,11 +27,12 @@ public interface DataManager { */ public List<Device> getDevices() throws Exception; public Device getDeviceByImei(String imei) throws Exception; + public Device getDeviceById(Long id) throws Exception; /** * Manage positions */ public Long addPosition(Position position) throws Exception; - public void updateLatestPosition(Long deviceId, Long positionId) throws Exception; + public void updateLatestPosition(Position position, Long positionId) throws Exception; } |