Class UiMenuConstraint
java.lang.Object
io.jmix.securityflowui.constraint.UiMenuConstraint
- All Implemented Interfaces:
AccessConstraint<UiMenuContext>
@Component("sec_UiMenuConstraint")
@Scope("prototype")
public class UiMenuConstraint
extends Object
implements AccessConstraint<UiMenuContext>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(UiMenuContext context) Applies the constraint to the given access context.Returns the access constraint type.protected boolean
hasPermittedChild
(MenuItem menuItem) void
setPolicyStore
(UiPolicyStore policyStore) void
setUiOperations
(UiSecureOperations uiOperations)
-
Field Details
-
uiOperations
-
policyStore
-
-
Constructor Details
-
UiMenuConstraint
public UiMenuConstraint()
-
-
Method Details
-
setUiOperations
-
setPolicyStore
-
getContextType
Description copied from interface:AccessConstraint
Returns the access constraint type.- Specified by:
getContextType
in interfaceAccessConstraint<UiMenuContext>
-
applyTo
Description copied from interface:AccessConstraint
Applies the constraint to the given access context.- Specified by:
applyTo
in interfaceAccessConstraint<UiMenuContext>
-