Package io.jmix.dataimport.impl
Class ImportConfigurationValidator
java.lang.Object
io.jmix.dataimport.impl.ImportConfigurationValidator
@Component("datimp_ImportConfigurationValidator")
public class ImportConfigurationValidator
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(ImportConfiguration importConfiguration) protected void
validateMultiFieldMapping
(MetaClass ownerEntity, ReferenceMultiFieldPropertyMapping propertyMapping, boolean uniqueConfigWithUpdatePolicyExists) protected void
validatePropertyMappings
(MetaClass ownerEntity, List<PropertyMapping> propertyMappings, boolean uniqueConfigWithUpdatePolicyExists)
-
Field Details
-
metadataTools
-
metadata
-
-
Constructor Details
-
ImportConfigurationValidator
public ImportConfigurationValidator()
-
-
Method Details
-
validate
- Throws:
ImportException
-
validatePropertyMappings
protected void validatePropertyMappings(MetaClass ownerEntity, List<PropertyMapping> propertyMappings, boolean uniqueConfigWithUpdatePolicyExists) -
validateMultiFieldMapping
protected void validateMultiFieldMapping(MetaClass ownerEntity, ReferenceMultiFieldPropertyMapping propertyMapping, boolean uniqueConfigWithUpdatePolicyExists)
-