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 java.lang.StringgetNameForResource(int resourceType)Gets the name of the resource with the resource typePermissiongetPermissionForName(java.lang.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(java.lang.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
java.lang.String getNameForResource(int resourceType)
Gets the name of the resource with the resource type
-
-