use of de.metas.ui.web.window.descriptor.sql.SqlOrderByValue in project metasfresh-webui-api by metasfresh.
the class SqlDocumentOrderByBuilder method buildSqlOrderBy.
private final IStringExpression buildSqlOrderBy(final DocumentQueryOrderBy orderBy) {
final String fieldName = orderBy.getFieldName();
final SqlOrderByValue sqlExpression = bindings.getFieldOrderBy(fieldName);
return buildSqlOrderBy(sqlExpression, orderBy.isAscending(), orderBy.isNullsLast());
}
Aggregations