Class DefaultPrefetchAttributeMode

java.lang.Object
de.hybris.platform.servicelayer.internal.converter.impl.DefaultPrefetchAttributeMode
All Implemented Interfaces:
AttributePrefetchMode

public class DefaultPrefetchAttributeMode extends Object implements AttributePrefetchMode
Default attribute preFetch mode. Evaluates ServicelayerConstants.ATTRIBUTE_PREFETCH_MODE_FLAG property at the the specified attribute descriptor.

If no value has been specified it calls ItemModelConverter.mustConvert(Type) in order to determine whether or not to preLoad the model attribute.