public class VariantProductModelConverter extends ItemModelConverter
ItemModelConverter.AttributesToLoad, ItemModelConverter.LoadedAttributeValues, ItemModelConverter.ModelAttributeInfo, ItemModelConverter.ModifiedAttributeValues, ItemModelConverter.RelationTypeAttributeInfo, ItemModelConverter.TypeAttributeInfo| Constructor and Description |
|---|
VariantProductModelConverter(ModelService modelService,
I18NService i18nService,
CommonI18NService commonI18NService,
String type,
Class<? extends AbstractItemModel> modelClass,
SerializationStrategy serializationStrategy,
SourceTransformer sourceTransformer,
SelfHealingService selfHealingService) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType(Object model)
Returns the exact type of the given model.
|
protected String |
getTypeFromBaseProduct(VariantProductModel model) |
addModelModificationListener, afterDetach, afterModification, assembleMetaInfo, beforeAttach, calculateTypeAttributeInfos, clearAttribute, clearLocAttribute, convertModelsToObjects, convertObjectsToModels, create, createContextForExistingModel, createContextForNewModel, createModelInstance, createNewItem, exists, fillModel, getAllModelAttributes, getAttributesToReload, getAttributeValue, getCommonI18NService, getComposedType, getConfig, getDefaultType, getDirtyAttributes, getDirtyAttributeValue, getDirtyLocalizedAttributesWithNonDataLocales, getDirtyLocalizedAttributeValue, getExcluded, getFieldValue, getGetter, getI18nService, getInfo, getInitialModelAttributes, getLocaleProvider, getLocalizedAttributeValue, getLocalizedGetter, getLocalizedSetter, getMandatoryAttributes, getMandatoryAttributesForCreation, getModelClass, getModelService, getPersistenceSource, getSerializationStrategy, getSetter, getSource, getStdLocale, getTypeFromModelContext, getUniqueAttributes, getWritablePartOfAttributes, hasNonDataLocales, init, isConfiguredForLegacyPersistence, isModified, isModified, isModified, isNew, isNonLazyLoadedAttribute, isReferenceAttribute, isRemoved, isUpToDate, jaloOnlyAttribute, load, mergeNonDataLocales, mergeOldValuesIntoDataLocales, mustConvert, preLoadAttribute, preLoadLocAttribute, readAttributes, readPrefetchSettings, readSingleAttribute, reload, remove, removeModelModificationListener, save, setAttributeLoadError, setAttributeValue, setLocAttributeLoadError, storeAttributes, toString, typeSystemChanged, unloadAttributespublic VariantProductModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, String type, Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService)
public String getType(Object model)
getType in interface ModelConvertergetType in class ItemModelConverterprotected String getTypeFromBaseProduct(VariantProductModel model)
Copyright © 2017 SAP SE. All Rights Reserved.