Class PrefetchAllModelConverter
java.lang.Object
de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter
de.hybris.platform.servicelayer.internal.converter.impl.PrefetchAllModelConverter
- All Implemented Interfaces:
TypeSystemAwareModelConverter,UpdateableModelConverter,ModelConverter,Cloneable
Test model converter that simulates servicelayer.prefetch=all
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter
ItemModelConverter.AttributesToLoad, ItemModelConverter.LoadedAttributeValues, ItemModelConverter.ModelAttributeInfo, ItemModelConverter.ModifiedAttributeValues, ItemModelConverter.RelationTypeAttributeInfo, ItemModelConverter.TypeAttributeInfo, ItemModelConverter.TypeMetaInfo -
Constructor Summary
ConstructorsConstructorDescriptionPrefetchAllModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, String type, Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService) -
Method Summary
Modifier and TypeMethodDescriptionprotected AttributePrefetchModeReads configuration settingServicelayerConstants.PARAM_PREFETCHand determines preFetch mode.Methods inherited from class de.hybris.platform.servicelayer.internal.converter.impl.ItemModelConverter
addModelModificationListener, afterDetach, afterModification, assembleMetaInfo, beforeAttach, calculateTypeAttributeInfos, clearAttribute, clearLocAttribute, convertModelsToObjects, convertObjectsToModels, create, createContextForExistingModel, createContextForNewModel, createModelAttributeInfo, createModelInstance, createNewItem, equals, exists, fillModel, getAllModelAttributes, getAttributesToReload, getAttributeValue, getCommonI18NService, getComposedType, getConfig, getDefaultType, getDirtyAttributes, getDirtyAttributeValue, getDirtyLocalizedAttributesWithNonDataLocales, getDirtyLocalizedAttributeValue, getDynamicAttributesProvider, getExcluded, getFieldValue, getGetter, getI18nService, getInfo, getInitialModelAttributes, getLocaleProvider, getLocalizedAttributeValue, getLocalizedGetter, getLocalizedSetter, getMandatoryAttributes, getMandatoryAttributesForCreation, getModelClass, getModelService, getPartOfAttributes, getPersistenceSource, getSerializationStrategy, getSetter, getSource, getStdLocale, getType, getTypeFromModelContext, getUniqueAttributes, getWritablePartOfAttributes, hashCode, hasNonDataLocales, init, isConfiguredForLegacyPersistence, isEnumValue, 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, unloadAttributes
-
Constructor Details
-
PrefetchAllModelConverter
public PrefetchAllModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, String type, Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService)
-
-
Method Details
-
readPrefetchSettings
Description copied from class:ItemModelConverterReads configuration settingServicelayerConstants.PARAM_PREFETCHand determines preFetch mode. Method is called once initially for eachItemModelConverterinstance.ServicelayerConstants.VALUE_PREFETCH_DEFAULTor no value means
- Overrides:
readPrefetchSettingsin classItemModelConverter
-