aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/DataManager.java1
-rw-r--r--src/org/traccar/database/IdentityManager.java8
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);
+
}