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,java.lang.Cloneable
public class PrefetchAllModelConverter extends ItemModelConverter
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
Constructors Constructor Description PrefetchAllModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, java.lang.String type, java.lang.Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AttributePrefetchModereadPrefetchSettings()Reads 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 Detail
-
PrefetchAllModelConverter
public PrefetchAllModelConverter(ModelService modelService, I18NService i18nService, CommonI18NService commonI18NService, java.lang.String type, java.lang.Class<? extends AbstractItemModel> modelClass, SerializationStrategy serializationStrategy, SourceTransformer sourceTransformer, SelfHealingService selfHealingService)
-
-
Method Detail
-
readPrefetchSettings
protected AttributePrefetchMode 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
-
-