Class ServicelayerConstants
java.lang.Object
de.hybris.platform.servicelayer.constants.ServicelayerConstants
Constants for the servicelayer extension.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAttribute specific flag to fine-tune prefetching mode.static final StringSuffix used for member variables in model.static final StringDeprecated, for removal: This API element is subject to removal in a future version.since agesstatic final StringConfiguration key for change between different model attribute load behaviours.static final StringIdentifier used when dataSourceId is unknown.static final StringValue for using thePARAM_PREFETCHkey.static final StringValue for using thePARAM_PREFETCHkey.static final StringValue for using thePARAM_PREFETCHkey.static final StringValue for using thePARAM_PREFETCHkey. -
Method Summary
-
Field Details
-
EXTENSIONNAME
Deprecated, for removal: This API element is subject to removal in a future version.since ages- See Also:
-
PARAM_PREFETCH
Configuration key for change between different model attribute load behaviours. Add/enable this key in your *.properties file. See file advanced.properties. The following configurations are possible- disabled in the properties - Default setting. In the model only the atomic member attributes (Strings, int, ...) are preloaded. Each other attribute will be loaded if called the model getter.
PARAM_PREFETCH=VALUE_PREFETCH_NONEin the property file - No member attribute is preloaded at all.PARAM_PREFETCH=VALUE_PREFETCH_ALLin the property file - All member attributes of the models are preloaded. This is slow.PARAM_PREFETCH=VALUE_PREFETCH_DEFAULTin the property file - This is the default mode which pre-fetches only literal values but leaves reference values for lazy-loading.
- See Also:
-
VALUE_PREFETCH_ALL
Value for using thePARAM_PREFETCHkey. 'all' means that all attribute values are being pre-fetched upon model loading.- See Also:
-
VALUE_PREFETCH_NONE
Value for using thePARAM_PREFETCHkey. 'none' means that no attribute value is being pre-fetched upon model loading. Instead they are lazy-loaded the first time their getter is being called.- See Also:
-
VALUE_PREFETCH_LITERAL
Value for using thePARAM_PREFETCHkey. 'literal' behaviour means pre-fetching only literal attribute values and not pre-fetching reference attribute values.- See Also:
-
VALUE_PREFETCH_DEFAULT
Value for using thePARAM_PREFETCHkey. 'default' is the default pre-fetching behaviour which means pre-fetching only literal attribute values and not pre-fetching reference attribute values.- See Also:
-
ATTRIBUTE_PREFETCH_MODE_FLAG
Attribute specific flag to fine-tune prefetching mode. Setting it totruemeans that values for this attribute are being pre-fetched upon model loading. Setting it tofalsemeans that values for this attribute are always lazy-loaded. Not setting means using the global pre-fetch mode configuration (seePARAM_PREFETCH). Specify in*-items.xmlas follows:<attribute qualifier="catalog" type="Catalog"> <custom-properties> <property name="modelPrefetchMode"> <value>java.lang.Boolean.TRUE</value> </property> </custom-properties> ...- See Also:
-
ATTRIBUTE_SUFFIX
Suffix used for member variables in model.- See Also:
-
UNDEFINED_DATASOURCE
Identifier used when dataSourceId is unknown.- See Also:
-