Interface PermissionProvider
- All Known Implementing Classes:
DefaultPermissionProvider
public interface PermissionProvider
A simple provider used to determine custom
Permission
s and
Resource
s- Author:
- Yana.Vasileva, Tobias Metzke
-
Method Summary
Modifier and TypeMethodDescriptiongetNameForResource
(int resourceType) Gets the name of the resource with the resource typegetPermissionForName
(String name, int resourceType) Gets the permission related to the name and resource typegetPermissionsForResource
(int resourceType) Gets all permissions possible for the resource type
-
Method Details
-
getPermissionForName
Gets the permission related to the name and resource type -
getPermissionsForResource
Gets all permissions possible for the resource type -
getNameForResource
Gets the name of the resource with the resource type
-