Interface UserPermissionProvider
- All Known Implementing Classes:
UserPermissionProviderImpl
public interface UserPermissionProvider
This interface defines methods for managing user permissions.
It allows checking, adding, removing, and retrieving permissions for users.
It also provides methods to manage permission expiration and track who created or updated a permission.
-
Method Summary
Modifier and TypeMethodDescriptionintclear(int userId) voidgetPermission(int userId, String permission) getPermissions(int userId) intvoidint
-
Method Details
-
closeCache
void closeCache() -
refreshCache
void refreshCache() -
getPermission
-
getPermissions
-
add
-
remove
-
clear
int clear(int userId) -
update
-
loadExpired
int loadExpired()
-