aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/storage')
-rw-r--r--src/main/java/org/traccar/storage/Storage.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/org/traccar/storage/Storage.java b/src/main/java/org/traccar/storage/Storage.java
index 62dba0165..55f5c22c0 100644
--- a/src/main/java/org/traccar/storage/Storage.java
+++ b/src/main/java/org/traccar/storage/Storage.java
@@ -45,18 +45,6 @@ public abstract class Storage {
return getPermissions(ownerClass, 0, propertyClass, 0);
}
- public List<Permission> getPermissions(
- Class<? extends BaseModel> ownerClass, long ownerId,
- Class<? extends BaseModel> propertyClass) throws StorageException {
- return getPermissions(ownerClass, ownerId, propertyClass, 0);
- }
-
- public List<Permission> getPermissions(
- Class<? extends BaseModel> ownerClass,
- Class<? extends BaseModel> propertyClass, long propertyId) throws StorageException {
- return getPermissions(ownerClass, 0, propertyClass, propertyId);
- }
-
public <T> T getObject(Class<T> clazz, Request request) throws StorageException {
var objects = getObjects(clazz, request);
return objects.isEmpty() ? null : objects.get(0);