aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-18 12:26:47 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-18 12:26:47 -0700
commit3f1c4e293f7d7d267a64fa9561fe77e9ba02477b (patch)
tree4122430b911f7400ca2fc354e558b9e7ffa76ba4 /src/main/java
parentb23ca6de800be9f2bbedcc4109a65f06bb245713 (diff)
downloadtrackermap-server-3f1c4e293f7d7d267a64fa9561fe77e9ba02477b.tar.gz
trackermap-server-3f1c4e293f7d7d267a64fa9561fe77e9ba02477b.tar.bz2
trackermap-server-3f1c4e293f7d7d267a64fa9561fe77e9ba02477b.zip
Remove unused code
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/database/DataManager.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/org/traccar/database/DataManager.java b/src/main/java/org/traccar/database/DataManager.java
index f80f429e1..bfc79eb77 100644
--- a/src/main/java/org/traccar/database/DataManager.java
+++ b/src/main/java/org/traccar/database/DataManager.java
@@ -17,8 +17,6 @@ package org.traccar.database;
import org.traccar.model.BaseModel;
import org.traccar.model.Device;
-import org.traccar.model.Permission;
-import org.traccar.model.Position;
import org.traccar.model.Server;
import org.traccar.storage.Storage;
import org.traccar.storage.StorageException;
@@ -44,21 +42,10 @@ public class DataManager {
new Condition.Equals("id", "id")));
}
- public Collection<Position> getLatestPositions() throws StorageException {
- return storage.getObjects(Position.class, new Request(
- new Columns.All(),
- new Condition.LatestPositions()));
- }
-
public Server getServer() throws StorageException {
return storage.getObject(Server.class, new Request(new Columns.All()));
}
- public Collection<Permission> getPermissions(Class<? extends BaseModel> owner, Class<? extends BaseModel> property)
- throws StorageException, ClassNotFoundException {
- return storage.getPermissions(owner, property);
- }
-
public <T extends BaseModel> Collection<T> getObjects(Class<T> clazz) throws StorageException {
return storage.getObjects(clazz, new Request(new Columns.All()));
}