public class PrefetchAllModelConverter extends ItemModelConverter
ItemModelConverter.AttributesToLoad, ItemModelConverter.LoadedAttributeValues, ItemModelConverter.ModelAttributeInfo, ItemModelConverter.ModifiedAttributeValues, ItemModelConverter.RelationTypeAttributeInfo, ItemModelConverter.TypeAttributeInfo| Constructor and Description |
|---|
PrefetchAllModelConverter(ModelService modelService,
I18NService i18nService,
CommonI18NService commonI18NService,
String type,
Class<? extends AbstractItemModel> modelClass,
SerializationStrategy serializationStrategy,
SourceTransformer sourceTransformer,
SelfHealingService selfHealingService) |
| Modifier and Type | Method and Description |
|---|---|
protected AttributePrefetchMode |
readPrefetchSettings()
Reads configuration setting
ServicelayerConstants.PARAM_PREFETCH and determines preFetch mode. |
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, getType, getTypeFromModelContext, getUniqueAttributes, getWritablePartOfAttributes, hasNonDataLocales, init, isConfiguredForLegacyPersistence, isModified, isModified, isModified, isNew, isNonLazyLoadedAttribute, isReferenceAttribute, isRemoved, isUpToDate, jaloOnlyAttribute, load, mergeNonDataLocales, mergeOldValuesIntoDataLocales, mustConvert, preLoadAttribute, preLoadLocAttribute, readAttributes, readSingleAttribute, reload, remove, removeModelModificationListener, save, setAttributeLoadError, setAttributeValue, setLocAttributeLoadError, storeAttributes, toString, typeSystemChanged, unloadAttributespublic PrefetchAllModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, String type, Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService)
protected AttributePrefetchMode readPrefetchSettings()
ItemModelConverterServicelayerConstants.PARAM_PREFETCH and determines preFetch mode. Method is
called once initially for each ItemModelConverter instance.
ServicelayerConstants.VALUE_PREFETCH_DEFAULT or no value means
readPrefetchSettings in class ItemModelConverterCopyright © 2017 SAP SE. All Rights Reserved.