Class DefaultUiComponentPolicyApplier
java.lang.Object
io.jmix.uiconstraints.security.impl.DefaultUiComponentPolicyApplier
- All Implemented Interfaces:
UiComponentPolicyApplier
@Component("uicns_DefaultUiComponentPolicyApplier")
public class DefaultUiComponentPolicyApplier
extends Object
implements UiComponentPolicyApplier
-
Constructor Summary
ConstructorDescriptionDefaultUiComponentPolicyApplier
(CurrentUserUiComponentPolicies currentUserUiComponentPolicies) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyUiComponentPolicies
(View<?> view) Applies UI component policies assigned to the current user to the given view.
-
Constructor Details
-
DefaultUiComponentPolicyApplier
public DefaultUiComponentPolicyApplier(CurrentUserUiComponentPolicies currentUserUiComponentPolicies)
-
-
Method Details
-
applyUiComponentPolicies
Description copied from interface:UiComponentPolicyApplier
Applies UI component policies assigned to the current user to the given view.- Specified by:
applyUiComponentPolicies
in interfaceUiComponentPolicyApplier
- Parameters:
view
- view the view to which the security policies should be applied
-