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