diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 02:28:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-18 02:28:16 +1200 |
commit | 3aaaa1de76612e26c6d25f930d94fdf4ee810d7d (patch) | |
tree | 30c4fca8cb7e1e4e22d944f3d58df2168ebb4a2d /src/org/traccar/database | |
parent | ca074b8dea7209293baf8513dfcf36e8d504f69b (diff) | |
download | trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.gz trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.tar.bz2 trackermap-server-3aaaa1de76612e26c6d25f930d94fdf4ee810d7d.zip |
Fix GT06 encoder unit test
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 1 | ||||
-rw-r--r-- | src/org/traccar/database/IdentityManager.java | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 8337762f7..0c5f458a2 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -547,4 +547,5 @@ public class DataManager { .setLong("managedUserId", managedUserId) .executeUpdate(); } + } diff --git a/src/org/traccar/database/IdentityManager.java b/src/org/traccar/database/IdentityManager.java index db8e9c1c7..c8c593a54 100644 --- a/src/org/traccar/database/IdentityManager.java +++ b/src/org/traccar/database/IdentityManager.java @@ -28,4 +28,12 @@ public interface IdentityManager { boolean isLatestPosition(Position position); + boolean lookupAttributeBoolean(long deviceId, String attributeName, boolean defaultValue, boolean lookupConfig); + + String lookupAttributeString(long deviceId, String attributeName, String defaultValue, boolean lookupConfig); + + int lookupAttributeInteger(long deviceId, String attributeName, int defaultValue, boolean lookupConfig); + + long lookupAttributeLong(long deviceId, String attributeName, long defaultValue, boolean lookupConfig); + } |