Interface WidgetAuthorizationService
-
- All Known Implementing Classes:
AdminWidgetAuthorizationService,DefaultWidgetAuthorizationService
public interface WidgetAuthorizationServiceService for getting info if a widget should be displayed or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAccessAllowed(Widget widget)Checks if a widget should be displayed or not, usually based on the widgets access restrictions.
-
-
-
Method Detail
-
isAccessAllowed
boolean isAccessAllowed(Widget widget)
Checks if a widget should be displayed or not, usually based on the widgets access restrictions.- Parameters:
widget- object to check- Returns:
- whether a widget should be displayed or not, usually based on the widgets access restrictions
-
-