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 -
Method Summary
Modifier and TypeMethodDescriptioncreateOrderBy(GenericQuery query, boolean asc) Creates the order by search criterion that contains information about field and direction of ordering search result.voidsetAttributeQualifier(String attributeQualifier) Methods inherited from class de.hybris.platform.cockpit.model.search.impl.DefaultSortCriterion
getQualifier, setDirectionApplicable, supportsDirection
-
Constructor Details
-
AttributeSortCriterion
-
-
Method Details
-
getAttributeQualifier
-
setAttributeQualifier
-
createOrderBy
Description copied from interface:GenericSearchSortCriterionCreates the order by search criterion that contains information about field and direction of ordering search result.- Specified by:
createOrderByin 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
-