public interface DynamicAttributesProvider
DynamicAttributeHandler| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(AbstractItemModel model,
java.lang.String attribute)
|
java.lang.Object |
getLocalized(AbstractItemModel model,
java.lang.String attribute,
java.util.Locale loc)
|
boolean |
isDynamic(java.lang.String attributeName)
Returns information whether given attribute is dynamic or not
|
void |
set(AbstractItemModel model,
java.lang.String attribute,
java.lang.Object value)
|
void |
setLocalized(AbstractItemModel model,
java.lang.String attribute,
java.lang.Object value,
java.util.Locale loc)
|
void set(AbstractItemModel model, java.lang.String attribute, java.lang.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.java.lang.Object get(AbstractItemModel model, java.lang.String attribute)
DynamicAttributeHandler.get(de.hybris.platform.servicelayer.model.AbstractItemModel)
.attribute - the attribute which is declared as dynamic.void setLocalized(AbstractItemModel model, java.lang.String attribute, java.lang.Object value, java.util.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 attributejava.lang.Object getLocalized(AbstractItemModel model, java.lang.String attribute, java.util.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(java.lang.String attributeName)
attributeName - attribute nameCopyright © 2018 SAP SE. All Rights Reserved.