Class DefaultPrefetchAttributeMode
java.lang.Object
de.hybris.platform.servicelayer.internal.converter.impl.DefaultPrefetchAttributeMode
- All Implemented Interfaces:
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected booleanCalled when no specific preFetch property has been found.toString()
-
Constructor Details
-
DefaultPrefetchAttributeMode
public DefaultPrefetchAttributeMode()
-
-
Method Details
-
isPrefetched
- Specified by:
isPrefetchedin interfaceAttributePrefetchMode
-
toString
-
isPrefetchedAsDefault
Called when no specific preFetch property has been found. CallsItemModelConverter.mustConvert(Type)in order to determine whether or not to preLoad the model attribute.- Parameters:
desc- the attribute descriptor to evaluate
-