Package de.hybris.platform.core
Class GenericSearchField
java.lang.Object
de.hybris.platform.core.FlexibleSearchTranslatable
de.hybris.platform.core.GenericField
de.hybris.platform.core.GenericSearchField
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FeatureField
Kind of Field used with a WHERE or ORDER BY clause.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGenericSearchField(String qualifier) GenericSearchField(String typeIdentifier, String qualifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanreturns allGenericSearchFieldTypeassociated to this instancereturns the LanguagePK for this fieldbooleaninthashCode()booleanvoidsetFieldTypes(Collection fieldTypes) Sets the type set for this fieldvoidsetLanguagePK(PK pk) sets the LanguagePK for this fieldvoidtoFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, 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> typeIndexMap, Map<String, Object> valueMap) compiles this instance in order to append its query snippet and add its value(s), if anytoString()Methods inherited from class de.hybris.platform.core.GenericField
getQualifier, getTypeCode, getTypeIdentifier, setQualifier, setTypeIdentifierMethods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap
-
Constructor Details
-
GenericSearchField
-
GenericSearchField
-
-
Method Details
-
addFieldType
-
hasFieldType
-
getFieldTypes
returns allGenericSearchFieldTypeassociated to this instance -
setFieldTypes
Sets the type set for this field- Parameters:
fieldTypes- Collection ofGenericSearchFieldTypes
-
getLanguagePK
returns the LanguagePK for this field -
setLanguagePK
sets the LanguagePK for this field- Parameters:
pk- string
-
toFlexibleSearch
public void toFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, 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:
toFlexibleSearchin classGenericField- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings- See Also:
-
toPolyglotSearch
public void toPolyglotSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, 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 classGenericField- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings
-
toString
-
equals
-
hashCode
public int hashCode() -
isTranslatableToPolyglotDialect
public boolean isTranslatableToPolyglotDialect()
-