Interface PermissionProvider
-
- All Known Implementing Classes:
DefaultPermissionProvider
public interface PermissionProvider
A simple provider used to determine customPermission
s andResource
s- Author:
- Yana.Vasileva, Tobias Metzke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNameForResource(int resourceType)
Gets the name of the resource with the resource typePermission
getPermissionForName(String name, int resourceType)
Gets the permission related to the name and resource typePermission[]
getPermissionsForResource(int resourceType)
Gets all permissions possible for the resource type
-
-
-
Method Detail
-
getPermissionForName
Permission getPermissionForName(String name, int resourceType)
Gets the permission related to the name and resource type
-
getPermissionsForResource
Permission[] getPermissionsForResource(int resourceType)
Gets all permissions possible for the resource type
-
getNameForResource
String getNameForResource(int resourceType)
Gets the name of the resource with the resource type
-
-