Package de.hybris.platform.core
Class FlexibleSearchTranslatable
- java.lang.Object
-
- de.hybris.platform.core.FlexibleSearchTranslatable
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GenericCondition,GenericField,GenericQuery,GenericSearchFieldType,GenericSearchOrderBy,GenericTypeJoin,Operator
public abstract class FlexibleSearchTranslatable extends java.lang.Object implements java.io.SerializableSuper class for all classes which have to be translateable to flexible search.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlexibleSearchTranslatable()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static java.lang.StringgetAliasFromTypeMap(java.util.Map<java.lang.String,java.lang.String> typeIndexMap, java.lang.String typeIdentifier)returns the typeIndex associated to the given codeabstract voidtoFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> typeIndexMap, 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> typeIndexMap, 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
-
-
-
Method Detail
-
toFlexibleSearch
public abstract void toFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> typeIndexMap, 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- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings
-
toPolyglotSearch
public void toPolyglotSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> typeIndexMap, 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- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings
-
getAliasFromTypeMap
protected static java.lang.String getAliasFromTypeMap(java.util.Map<java.lang.String,java.lang.String> typeIndexMap, java.lang.String typeIdentifier)returns the typeIndex associated to the given code- Parameters:
typeIndexMap- map, containing all typeCode <> typeIndex mappingstypeIdentifier- theTypeCode- Returns:
- typeIndex
-
-