Package io.jmix.core.accesscontext
Class ExportImportEntityContext
java.lang.Object
io.jmix.core.accesscontext.ExportImportEntityContext
- All Implemented Interfaces:
- AccessContext
Defines an authorization point for entity attributes when serializing entities to/from JSON.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanExported(String attribute) booleancanImported(String attribute) Returns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions.voidnotExportedAttribute(String name) voidnotImportedAttribute(String name) 
- 
Field Details- 
entityClass
- 
notImported
- 
notExported
 
- 
- 
Constructor Details- 
ExportImportEntityContext
 
- 
- 
Method Details- 
getEntityClass
- 
canImported
- 
canExported
- 
notImportedAttribute
- 
notExportedAttribute
- 
explainConstraintsDescription copied from interface:AccessContextReturns a human-readable explanation of constraints applied to the current context instance for logging of authorization decisions. Null if the current context does not impose any constraints.- Specified by:
- explainConstraintsin interface- AccessContext
 
 
-