diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-04-27 19:18:28 +0000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-04-27 19:18:28 +0000 |
commit | 89654e64cfa18e19741ea97fe685ccfa2f40788c (patch) | |
tree | 5783e91ece939b047a87977617339d154bd0517b /src/org/traccar/model/DataManager.java | |
parent | e9527c7a8a99e09f47e2169676dee85a7834d670 (diff) | |
download | traccar-server-89654e64cfa18e19741ea97fe685ccfa2f40788c.tar.gz traccar-server-89654e64cfa18e19741ea97fe685ccfa2f40788c.tar.bz2 traccar-server-89654e64cfa18e19741ea97fe685ccfa2f40788c.zip |
Diffstat (limited to 'src/org/traccar/model/DataManager.java')
-rw-r--r-- | src/org/traccar/model/DataManager.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/org/traccar/model/DataManager.java b/src/org/traccar/model/DataManager.java index a7338b3c4..a7dbd6719 100644 --- a/src/org/traccar/model/DataManager.java +++ b/src/org/traccar/model/DataManager.java @@ -23,18 +23,18 @@ import java.util.List; public interface DataManager { /** - * Read device list + * Manage devices */ public List getDevices() throws Exception; - - /** - * Get device by imei - */ + public void addDevice(Device device) throws Exception; + public void addUpdate(Device device) throws Exception; + public void addRemove(Device device) throws Exception; public Device getDeviceByImei(String imei) throws Exception; /** - * Write position + * Manage positions */ - public void setPosition(Position position) throws Exception; + public List getPositions(Long deviceId) throws Exception; + public void addPosition(Position position) throws Exception; } |