Class AttributeSortCriterion

    • Constructor Detail

      • AttributeSortCriterion

        public AttributeSortCriterion​(java.lang.String qualifier)
    • 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 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