diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-21 09:59:27 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-21 09:59:27 +0500 |
commit | 839e741653c9b61e573fa1cdd0dad0641c79bcec (patch) | |
tree | 69ef63138122eb0d8cdebe38f678e1d0e2ff82df /src/org/traccar/model/DriverPermission.java | |
parent | e00fbfa466b17e94f59e6ff8fefb83f08999b3ec (diff) | |
download | trackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.tar.gz trackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.tar.bz2 trackermap-server-839e741653c9b61e573fa1cdd0dad0641c79bcec.zip |
Abolish permissions classes and get permissions as Map from DB
Diffstat (limited to 'src/org/traccar/model/DriverPermission.java')
-rw-r--r-- | src/org/traccar/model/DriverPermission.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/org/traccar/model/DriverPermission.java b/src/org/traccar/model/DriverPermission.java deleted file mode 100644 index 44f34c8e6..000000000 --- a/src/org/traccar/model/DriverPermission.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2017 Anton Tananaev (anton@traccar.org) - * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.traccar.model; - -public class DriverPermission extends BaseUserPermission { - - private long driverId; - - public long getDriverId() { - return driverId; - } - - public void setDriverId(long driverId) { - this.driverId = driverId; - } - - @Override - public long getSlaveId() { - return driverId; - } -} |