diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-06-12 11:17:02 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-06-12 11:17:02 +0400 |
commit | 6532c4c2e6d0d5a00c6e80c90c171448970e78fa (patch) | |
tree | 205a016812fd4a665f4ae7f2b98a63e504b0a790 /src/org/traccar/model/DatabaseDataManager.java | |
parent | 3687acb3a93b3f8332de5a9fa7d99be4a665bbdd (diff) | |
download | trackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.tar.gz trackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.tar.bz2 trackermap-server-6532c4c2e6d0d5a00c6e80c90c171448970e78fa.zip |
Add phone number and unique id to Device
Diffstat (limited to 'src/org/traccar/model/DatabaseDataManager.java')
-rw-r--r-- | src/org/traccar/model/DatabaseDataManager.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/org/traccar/model/DatabaseDataManager.java b/src/org/traccar/model/DatabaseDataManager.java index 733f0a0ec..8235a6170 100644 --- a/src/org/traccar/model/DatabaseDataManager.java +++ b/src/org/traccar/model/DatabaseDataManager.java @@ -182,6 +182,16 @@ public class DatabaseDataManager implements DataManager { return (Device) devices.get(imei); } + public Device getDeviceByPhoneNumber(String phoneNumber) { + // TODO: implement getDeviceByPhoneNumber + return null; + } + + public Device getDeviceByUniqueId(String uniqueId) { + // TODO: implement getDeviceByUniqueId + return null; + } + public synchronized List<Position> getPositions(Long deviceId) throws SQLException { List<Position> positionList = new LinkedList(); |