public interface PermissionsService
| Modifier and Type | Method and Description |
|---|---|
OtherPermissions |
getOtherPermissions(String selectedUnitId) |
OwnerPermissions |
getOwner(String selectedUnitId)
Returns a List of all possible Owners of an unit.
|
List<GroupPermissions> |
getUnitPermissions(String selectedUnitId)
Returns a list of all group permissions, no matter if the group currently have any rights.
|
void |
save(String selectedUnitId,
List<GroupPermissions> permissions,
OwnerPermissions owner,
OtherPermissions other)
Saves the new Settings for the unit.
|
OwnerPermissions getOwner(String selectedUnitId) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
OwnerPermissions.currentOwner.selectedUnitId - the unit to get all possible ownersorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionList<GroupPermissions> getUnitPermissions(String selectedUnitId) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
selectedUnitId - the unit to get all Group-permissionsorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionvoid save(String selectedUnitId, List<GroupPermissions> permissions, OwnerPermissions owner, OtherPermissions other) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException, ExecutionException
Permissions for Group and the Owner and his permissions are set.
selectedUnitId - the unit to save permissions forpermissions - the group-permissions to saveowner - the new Owner (or OwnerPermissions.currentOwner if noneother - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionExecutionExceptionOtherPermissions getOtherPermissions(String selectedUnitId) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionCopyright © 2015–2018 openbase.org. All rights reserved.