aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-10 05:03:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-10 05:03:23 +1200
commitdb4a0e37769198a20fd3e14552b88de1446cd6b5 (patch)
treed5ec20bbcb8caed2a5c7ea5b2a008501fa6101f8 /src/org/traccar/database
parent2bc3832f20dd6319701b78a0ece8f8551e86b9db (diff)
downloadtrackermap-server-db4a0e37769198a20fd3e14552b88de1446cd6b5.tar.gz
trackermap-server-db4a0e37769198a20fd3e14552b88de1446cd6b5.tar.bz2
trackermap-server-db4a0e37769198a20fd3e14552b88de1446cd6b5.zip
Fix compilation issue
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index be42d6d3e..b7d3cb1e4 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -424,7 +424,7 @@ public class DataManager {
return Introspector.decapitalize(name) + (!name.contains("Id") ? "Id" : "");
}
- private Collection<Permission> getPermissions(Class<? extends BaseModel> owner, Class<? extends BaseModel> property)
+ public Collection<Permission> getPermissions(Class<? extends BaseModel> owner, Class<? extends BaseModel> property)
throws SQLException, ClassNotFoundException {
return QueryBuilder.create(dataSource, getQuery(ACTION_SELECT_ALL, owner, property))
.executePermissionsQuery();