diff options
Diffstat (limited to 'src/org/traccar/model/DataManager.java')
-rw-r--r-- | src/org/traccar/model/DataManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/model/DataManager.java b/src/org/traccar/model/DataManager.java index 70cf63380..423c540da 100644 --- a/src/org/traccar/model/DataManager.java +++ b/src/org/traccar/model/DataManager.java @@ -30,11 +30,13 @@ public interface DataManager { 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 List<Position> getPositions(Long deviceId) throws Exception; public void addPosition(Position position) throws Exception; + public List<Position> getPositions(Long deviceId) throws Exception; } |