Package de.hybris.platform.core
Class GenericField
java.lang.Object
de.hybris.platform.core.FlexibleSearchTranslatable
de.hybris.platform.core.GenericField
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GenericSearchField,GenericSelectField
Super class for all kinds of Fields.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the attribute qualifier of this field.Deprecated, for removal: This API element is subject to removal in a future version.since agesReturns the type identifier of this field.protected voidsetQualifier(String qualifier) protected voidsetTypeIdentifier(String typeCode) Sets a new type code.voidtoFlexibleSearch(StringBuilder queryBuffer, Map<String, String> aliasTypeMap, Map<String, Object> valueMap) compiles this instance in order to append its query snippet and add its value(s), if anyvoidtoPolyglotSearch(StringBuilder queryBuffer, Map<String, String> aliasTypeMap, Map<String, Object> valueMap) compiles this instance in order to append its query snippet and add its value(s), if anyMethods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap
-
Constructor Details
-
GenericField
-
-
Method Details
-
setQualifier
-
getQualifier
Return the attribute qualifier of this field. -
getTypeCode
Deprecated, for removal: This API element is subject to removal in a future version.since agesreturn the typeCode of this field- Returns:
- the typeCode
-
getTypeIdentifier
Returns the type identifier of this field. Ifnullis returned this field belongs to the initial type of the enclosing query. -
setTypeIdentifier
Sets a new type code.- Parameters:
typeCode- the new type code
-
toFlexibleSearch
public void toFlexibleSearch(StringBuilder queryBuffer, Map<String, String> aliasTypeMap, Map<String, Object> valueMap) Description copied from class:FlexibleSearchTranslatablecompiles this instance in order to append its query snippet and add its value(s), if any- Specified by:
toFlexibleSearchin classFlexibleSearchTranslatable- Parameters:
queryBuffer- contains the queryaliasTypeMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings- See Also:
-
toPolyglotSearch
public void toPolyglotSearch(StringBuilder queryBuffer, Map<String, String> aliasTypeMap, Map<String, Object> valueMap) Description copied from class:FlexibleSearchTranslatablecompiles this instance in order to append its query snippet and add its value(s), if any- Overrides:
toPolyglotSearchin classFlexibleSearchTranslatable- Parameters:
queryBuffer- contains the queryaliasTypeMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings
-