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