Package de.xima.fc.gui.common.interfaces
Interface IUserPermissionCheck
- 
- All Known Implementing Classes:
 UserPermissionsBean
public interface IUserPermissionCheckInterface for checking user permissions.- Since:
 - 8.2.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanAccessClientScopedView(Mandant client, IView view)Checks if the user can access the given client-specific view in the context.booleancanAccessProjectScopedView(Projekt project, IView view)Checks if the user can access the given project-specific view in the context.booleanhasClientAccess(Mandant client, IAccessProperty property)Check if the user was granted the given client-specific permission for the given client.booleanhasProjectAccess(Projekt project, IAccessProperty property)Check if the user was granted the given project-specific permission for the given project.booleanhasSystemAccess(IAccessProperty property)Check if the user was granted the given 
 - 
 
- 
- 
Method Detail
- 
canAccessClientScopedView
boolean canAccessClientScopedView(Mandant client, IView view)
Checks if the user can access the given client-specific view in the context.- Parameters:
 client- The client to check the view access for.view- The view to check access for.- Returns:
 - True if the user can access the view, false otherwise.
 
 
- 
canAccessProjectScopedView
boolean canAccessProjectScopedView(Projekt project, IView view)
Checks if the user can access the given project-specific view in the context.- Parameters:
 project- The project to check the view access for.view- The view to check access for.- Returns:
 - True if the user can access the view, false otherwise.
 
 
- 
hasClientAccess
boolean hasClientAccess(Mandant client, IAccessProperty property)
Check if the user was granted the given client-specific permission for the given client.- Parameters:
 client- The client to check the permission for.property- The client permission to check.- Returns:
 - True if the user has the permission, false otherwise.
 
 
- 
hasProjectAccess
boolean hasProjectAccess(Projekt project, IAccessProperty property)
Check if the user was granted the given project-specific permission for the given project.- Parameters:
 project- The project to check the permission for.property- The project permission to check.- Returns:
 - True if the user has the permission, false otherwise.
 
 
- 
hasSystemAccess
boolean hasSystemAccess(IAccessProperty property)
Check if the user was granted the given- Parameters:
 property- The system permission to check.- Returns:
 - True if the user has the permission, false otherwise.
 
 
 - 
 
 -