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 Details

    • AttributeSortCriterion

      public AttributeSortCriterion(String qualifier)
  • Method Details

    • getAttributeQualifier

      public String getAttributeQualifier()
    • setAttributeQualifier

      public void setAttributeQualifier(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 interface GenericSearchSortCriterion
      Parameters:
      query - the query to create order by criterion for
      asc - if set to true order by will be created as ascending
      Returns:
      the object that holds information about field and direction of ordering