Class AttributeSortCriterion
- java.lang.Object
-
- de.hybris.platform.cockpit.model.search.impl.DefaultSortCriterion
-
- de.hybris.platform.cockpit.services.search.impl.AttributeSortCriterion
-
- All Implemented Interfaces:
SortCriterion
,GenericSearchSortCriterion
public class AttributeSortCriterion extends DefaultSortCriterion implements GenericSearchSortCriterion
-
-
Constructor Summary
Constructors Constructor Description AttributeSortCriterion(java.lang.String qualifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericSearchOrderBy
createOrderBy(GenericQuery query, boolean asc)
Creates the order by search criterion that contains information about field and direction of ordering search result.java.lang.String
getAttributeQualifier()
void
setAttributeQualifier(java.lang.String attributeQualifier)
-
Methods inherited from class de.hybris.platform.cockpit.model.search.impl.DefaultSortCriterion
getQualifier, setDirectionApplicable, supportsDirection
-
-
-
-
Method Detail
-
getAttributeQualifier
public java.lang.String getAttributeQualifier()
-
setAttributeQualifier
public void setAttributeQualifier(java.lang.String attributeQualifier)
-
createOrderBy
public GenericSearchOrderBy createOrderBy(GenericQuery query, boolean asc)
Description copied from interface:GenericSearchSortCriterion
Creates the order by search criterion that contains information about field and direction of ordering search result.- Specified by:
createOrderBy
in interfaceGenericSearchSortCriterion
- Parameters:
query
- the query to create order by criterion forasc
- if set to true order by will be created as ascending- Returns:
- the object that holds information about field and direction of ordering
-
-