Class FlowuiEntityConstraint
java.lang.Object
io.jmix.securityflowui.constraint.FlowuiEntityConstraint
- All Implemented Interfaces:
AccessConstraint<FlowuiEntityContext>
,EntityOperationConstraint<FlowuiEntityContext>
@Component("sec_FlowuiEntityConstraint")
@Scope("prototype")
public class FlowuiEntityConstraint
extends Object
implements EntityOperationConstraint<FlowuiEntityContext>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(FlowuiEntityContext context) Applies the constraint to the given access context.Returns the access constraint type.void
setEntityOperations
(SecureOperations entityOperations) void
setPolicyStore
(PolicyStore policyStore)
-
Field Details
-
policyStore
-
entityOperations
-
-
Constructor Details
-
FlowuiEntityConstraint
public FlowuiEntityConstraint()
-
-
Method Details
-
setPolicyStore
-
setEntityOperations
-
getContextType
Description copied from interface:AccessConstraint
Returns the access constraint type.- Specified by:
getContextType
in interfaceAccessConstraint<FlowuiEntityContext>
-
applyTo
Description copied from interface:AccessConstraint
Applies the constraint to the given access context.- Specified by:
applyTo
in interfaceAccessConstraint<FlowuiEntityContext>
-