public class MultiValueTransformer extends BasicTransformer<com.vaadin.data.util.PropertysetItem>
Transformer
.javax.jcr.Value[]
property.javax.jcr.Value[]
property value as a list.basePropertyName, definition, i18NPropertyName, relatedFormItem, type
Constructor and Description |
---|
MultiValueTransformer(com.vaadin.data.Item relatedFormItem,
ConfiguredFieldDefinition definition,
Class<com.vaadin.data.util.PropertysetItem> type)
Deprecated.
since 5.4.2 - use
MultiValueTransformer(Item, ConfiguredFieldDefinition, Class, I18NAuthoringSupport) instead. |
MultiValueTransformer(com.vaadin.data.Item relatedFormItem,
ConfiguredFieldDefinition definition,
Class<com.vaadin.data.util.PropertysetItem> type,
info.magnolia.ui.api.i18n.I18NAuthoringSupport i18NAuthoringSupport) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.data.util.PropertysetItem |
readFromItem()
Transform a specific Item values to a specified type T.
|
void |
writeToItem(com.vaadin.data.util.PropertysetItem newValue)
Convert the T newValue to a specific Item format.
|
definePropertyName, deriveLocaleAwareName, getBasePropertyName, getI18NAuthoringSupport, getLocale, getOrCreateProperty, getOrCreateProperty, getRelatedFormItem, getType, hasI18NSupport, isReadOnly, setI18NPropertyName, setLocale, setReadOnly, setType
@Deprecated public MultiValueTransformer(com.vaadin.data.Item relatedFormItem, ConfiguredFieldDefinition definition, Class<com.vaadin.data.util.PropertysetItem> type)
MultiValueTransformer(Item, ConfiguredFieldDefinition, Class, I18NAuthoringSupport)
instead.@Inject public MultiValueTransformer(com.vaadin.data.Item relatedFormItem, ConfiguredFieldDefinition definition, Class<com.vaadin.data.util.PropertysetItem> type, info.magnolia.ui.api.i18n.I18NAuthoringSupport i18NAuthoringSupport)
public void writeToItem(com.vaadin.data.util.PropertysetItem newValue)
Transformer
writeToItem
in interface Transformer<com.vaadin.data.util.PropertysetItem>
writeToItem
in class BasicTransformer<com.vaadin.data.util.PropertysetItem>
public com.vaadin.data.util.PropertysetItem readFromItem()
Transformer
readFromItem
in interface Transformer<com.vaadin.data.util.PropertysetItem>
readFromItem
in class BasicTransformer<com.vaadin.data.util.PropertysetItem>
Copyright © 2017 Magnolia International Ltd.. All rights reserved.