aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-12 17:42:16 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-12 17:42:16 +0500
commit925806fe70e10e47bcc12eb8bcc4fe21a9ece220 (patch)
treea2972e4915f941699c6582b915c27189f28c63e4 /src/org/traccar/database/DataManager.java
parent195e7b5b45c08fa4fad4f9c8797f8807ded1dbea (diff)
downloadtrackermap-server-925806fe70e10e47bcc12eb8bcc4fe21a9ece220.tar.gz
trackermap-server-925806fe70e10e47bcc12eb8bcc4fe21a9ece220.tar.bz2
trackermap-server-925806fe70e10e47bcc12eb8bcc4fe21a9ece220.zip
Implement Saved Commands
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 4535a9c38..261541b4d 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -51,6 +51,7 @@ import org.traccar.model.ManagedUser;
import org.traccar.model.Permission;
import org.traccar.model.BaseModel;
import org.traccar.model.Calendar;
+import org.traccar.model.Command;
import org.traccar.model.Position;
import org.traccar.model.Server;
import org.traccar.model.Statistics;
@@ -390,6 +391,8 @@ public class DataManager {
return Attribute.class;
case "calendar":
return Calendar.class;
+ case "command":
+ return Command.class;
default:
throw new ClassNotFoundException();
}