public interface DynamicAttributesProvider
DynamicAttributeHandler| Modifier and Type | Method and Description |
|---|---|
Object |
get(AbstractItemModel model,
String attribute)
|
Object |
getLocalized(AbstractItemModel model,
String attribute,
Locale loc)
|
boolean |
isDynamic(String attributeName)
Returns information whether given attribute is dynamic or not
|
void |
set(AbstractItemModel model,
String attribute,
Object value)
|
void |
setLocalized(AbstractItemModel model,
String attribute,
Object value,
Locale loc)
|
void set(AbstractItemModel model, String attribute, Object value)
DynamicAttributeHandler.set(de.hybris.platform.servicelayer.model.AbstractItemModel, Object)
.attribute - the attribute which is declared as dynamic.value - the value which is passed to attribute handler.Object get(AbstractItemModel model, String attribute)
DynamicAttributeHandler.get(de.hybris.platform.servicelayer.model.AbstractItemModel)
.attribute - the attribute which is declared as dynamic.void setLocalized(AbstractItemModel model, String attribute, Object value, Locale loc)
DynamicLocalizedAttributeHandler.set(de.hybris.platform.servicelayer.model.AbstractItemModel, Object, java.util.Locale)
.attribute - the attribute which is declared as dynamic.value - the value which is passed to attribute handler.loc - the locale for the given attributeObject getLocalized(AbstractItemModel model, String attribute, Locale loc)
DynamicLocalizedAttributeHandler.get(de.hybris.platform.servicelayer.model.AbstractItemModel, java.util.Locale)
.attribute - the attribute which is declared as dynamic.loc - the locale for the given attributeboolean isDynamic(String attributeName)
attributeName - attribute nameCopyright © 2017 SAP SE. All Rights Reserved.