Package com.skava.catalog.process
Class DynamicAttributeBuilder
java.lang.Object
com.skava.catalog.process.DynamicAttributeBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValuegetDynamicAttributeValue
(String identifier, String itemId, String folderPath, String validationData, String index) This method is used to generate a dynamic attribute value.replaceOperators
(String value) replaceOperators
-
Constructor Details
-
DynamicAttributeBuilder
public DynamicAttributeBuilder()
-
-
Method Details
-
getDynamicAttributeValue
public String getDynamicAttributeValue(String identifier, String itemId, String folderPath, String validationData, String index) This method is used to generate a dynamic attribute value.- Parameters:
identifier
- Identifier of the itemitemId
- Id name of the item.folderPath
- Image folder path.validationData
- image formatindex
- index of the image url.- Returns:
- it return attribute value.
-
getAttributeValue
public String getAttributeValue(List<String> attributeIds, Map<String, String> attributeMap, String url) getAttributeValue- Parameters:
attributeIds
- attributeIdsattributeMap
- attributeMapurl
- url- Returns:
- It returns string value
-
replaceOperators
replaceOperators- Parameters:
value
- value- Returns:
- It returns string value
-