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