Package de.hybris.platform.core
Class GenericField
- java.lang.Object
-
- de.hybris.platform.core.FlexibleSearchTranslatable
-
- de.hybris.platform.core.GenericField
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GenericSearchField,GenericSelectField
public abstract class GenericField extends FlexibleSearchTranslatable
Super class for all kinds of Fields.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenericField(java.lang.String typeIdentifier, java.lang.String qualifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetQualifier()Return the attribute qualifier of this field.java.lang.StringgetTypeCode()Deprecated, for removal: This API element is subject to removal in a future version.since agesjava.lang.StringgetTypeIdentifier()Returns the type identifier of this field.protected voidsetQualifier(java.lang.String qualifier)protected voidsetTypeIdentifier(java.lang.String typeCode)Sets a new type code.voidtoFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)compiles this instance in order to append its query snippet and add its value(s), if anyvoidtoPolyglotSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)compiles this instance in order to append its query snippet and add its value(s), if any-
Methods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap
-
-
-
-
Method Detail
-
setQualifier
protected void setQualifier(java.lang.String qualifier)
-
getQualifier
public java.lang.String getQualifier()
Return the attribute qualifier of this field.
-
getTypeCode
@Deprecated(since="ages", forRemoval=true) public java.lang.String 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
public java.lang.String getTypeIdentifier()
Returns the type identifier of this field. Ifnullis returned this field belongs to the initial type of the enclosing query.
-
setTypeIdentifier
protected void setTypeIdentifier(java.lang.String typeCode)
Sets a new type code.- Parameters:
typeCode- the new type code
-
toFlexibleSearch
public void toFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,java.lang.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:
FlexibleSearchTranslatable.toFlexibleSearch(java.lang.StringBuilder, Map, Map)
-
toPolyglotSearch
public void toPolyglotSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,java.lang.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
-
-