aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-01 15:50:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-01 15:50:09 +1300
commit82909a81eb01cfd76f38fec7cccff5a5c87b5232 (patch)
tree42a3b3093d96f91c79d24186ff7399fe188888e6 /src/org/traccar/database/DataManager.java
parentcf8aeca07a7187d62dfa3bc79506c6ff41613f32 (diff)
downloadtrackermap-server-82909a81eb01cfd76f38fec7cccff5a5c87b5232.tar.gz
trackermap-server-82909a81eb01cfd76f38fec7cccff5a5c87b5232.tar.bz2
trackermap-server-82909a81eb01cfd76f38fec7cccff5a5c87b5232.zip
Remove unused data manager methods (fix #2386)
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index c58fe40a5..6718bda83 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -160,12 +160,6 @@ public class DataManager {
.executeQuery(User.class);
}
- public User getUser(long userId) throws SQLException {
- return QueryBuilder.create(dataSource, getQuery("database.selectUser"))
- .setLong("id", userId)
- .executeQuerySingle(User.class);
- }
-
public void addUser(User user) throws SQLException {
user.setId(QueryBuilder.create(dataSource, getQuery("database.insertUser"), true)
.setObject(user)
@@ -359,12 +353,6 @@ public class DataManager {
.executeQuery(Geofence.class);
}
- public Geofence getGeofence(long geofenceId) throws SQLException {
- return QueryBuilder.create(dataSource, getQuery("database.selectGeofences"))
- .setLong("id", geofenceId)
- .executeQuerySingle(Geofence.class);
- }
-
public void addGeofence(Geofence geofence) throws SQLException {
geofence.setId(QueryBuilder.create(dataSource, getQuery("database.insertGeofence"), true)
.setObject(geofence)