Class UniqueExcelMarkAppender
java.lang.Object
com.hybris.backoffice.excel.template.populator.appender.UniqueExcelMarkAppender
- All Implemented Interfaces:
ExcelMarkAppender<ExcelAttributeDescriptorAttribute>,BiFunction<String,,ExcelAttributeDescriptorAttribute, String> org.springframework.core.Ordered
public class UniqueExcelMarkAppender
extends Object
implements ExcelMarkAppender<ExcelAttributeDescriptorAttribute>
Adds a special character "^" to given
input, when the given attribute is unique
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(String s, ExcelAttributeDescriptorAttribute excelAttributeDescriptorAttribute) intgetOrder()voidsetUniqueFilter(ExcelFilter<AttributeDescriptorModel> uniqueFilter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
UniqueExcelMarkAppender
public UniqueExcelMarkAppender()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<String,ExcelAttributeDescriptorAttribute, String>
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setUniqueFilter
-