Package de.hybris.platform.core
Class GenericSearchOrderBy
java.lang.Object
de.hybris.platform.core.FlexibleSearchTranslatable
de.hybris.platform.core.GenericSearchOrderBy
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FeatureValueOrderBy
Class represents a ORDER BY clause by defining the field to be searched by and its order direction.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetField()inthashCode()booleanvoidsetAscending(boolean asc) voidtoFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, Map<String, Object> valueMap) toFlexibleSearchvoidtoPolyglotSearch(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 anytoString()Methods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap
-
Constructor Details
-
GenericSearchOrderBy
-
GenericSearchOrderBy
-
-
Method Details
-
isAscending
public boolean isAscending() -
setAscending
public void setAscending(boolean asc) -
getField
-
toFlexibleSearch
public void toFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, Map<String, Object> valueMap) toFlexibleSearch- Specified by:
toFlexibleSearchin classFlexibleSearchTranslatable- Parameters:
queryBuffer- contains the querytypeIndexMap- 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
-
toString
-
equals
-
hashCode
public int hashCode()
-