public class WorkbookMandatoryColumnsValidator extends java.lang.Object implements WorkbookValidator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VALIDATION_MESSAGE_DESCRIPTION |
static java.lang.String |
VALIDATION_MESSAGE_HEADER |
| Constructor and Description |
|---|
WorkbookMandatoryColumnsValidator() |
public static final java.lang.String VALIDATION_MESSAGE_HEADER
public static final java.lang.String VALIDATION_MESSAGE_DESCRIPTION
public java.util.List<ExcelValidationResult> validate(Workbook workbook)
WorkbookValidatorvalidate in interface WorkbookValidatorprotected java.util.Optional<ExcelValidationResult> validateSheet(Sheet typeSystemSheet, Sheet sheet)
protected ExcelAttributeDescriptorAttribute prepareExcelAttribute(AttributeDescriptorModel attributeDescriptor, java.lang.String isoCode)
protected SelectedAttribute prepareSelectedAttribute(AttributeDescriptorModel attributeDescriptor)
protected java.lang.String getAttributeDisplayedName(AttributeDescriptorModel attributeDescriptor)
public java.util.Set<AttributeDescriptorModel> findAllMandatoryFields(java.lang.String typeCode)
@Deprecated protected boolean hasNotDefaultValue(AttributeDescriptorModel attributeDescriptorModel)
DefaultValueCheckingFilter instead@Deprecated public TypeService getTypeService()
@Deprecated public void setTypeService(TypeService typeService)
public CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
@Deprecated public ExcelTemplateService getExcelTemplateService()
@Deprecated public void setExcelTemplateService(ExcelTemplateService excelTemplateService)
public ExcelWorkbookService getExcelWorkbookService()
public void setExcelWorkbookService(ExcelWorkbookService excelWorkbookService)
public ExcelSheetService getExcelSheetService()
public void setExcelSheetService(ExcelSheetService excelSheetService)
public DisplayNameAttributeNameFormatter getDisplayNameAttributeNameFormatter()
public void setDisplayNameAttributeNameFormatter(DisplayNameAttributeNameFormatter displayNameAttributeNameFormatter)
public ExcelMapper<java.lang.String,AttributeDescriptorModel> getMapper()
public void setMapper(ExcelMapper<java.lang.String,AttributeDescriptorModel> mapper)
Copyright © 2018 SAP SE. All Rights Reserved.