Interface PermissionProvider
-
- All Known Implementing Classes:
DefaultPermissionProvider
public interface PermissionProviderA simple provider used to determine customPermissions andResources- Author:
- Yana.Vasileva, Tobias Metzke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNameForResource(int resourceType)Gets the name of the resource with the resource typePermissiongetPermissionForName(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
-
-