io.sphere.sdk.search.SortDsl Maven / Gradle / Ivy
package io.sphere.sdk.search;
import java.util.List;
public interface SortDsl extends SortSupport {
/**
* Returns a new object with the new sort expressions.
* @param sortExpressions the new sort expression list
* @return a new object with sort {@code sortExpressions}
*/
C withSort(final List> sortExpressions);
/**
* Returns a new object with the new sort expressions.
* @param sortExpression the new sort expression list
* @return a new object with sort {@code sortExpressions}
*/
C withSort(final SortExpression sortExpression);
/**
* Returns a new object with the new sort expression list appended to the existing sort expressions.
* @param sortExpressions the new sort expression list
* @return a new object with the existing sort expressions plus the new {@code sortExpressions}.
*/
C plusSort(final List> sortExpressions);
/**
* Returns a new object with the new sort expression list appended to the existing sort expressions.
* @param sortExpression the new sort expression
* @return a new object with the existing sort expressions plus the new {@code sortExpressions}.
*/
C plusSort(final SortExpression sortExpression);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy