Interface PersistentSortInfo
- All Superinterfaces:
SortInfo
- All Known Subinterfaces:
PersistentPropertyDescriptorSortInfo
- All Known Implementing Classes:
PersistentPropertyDescriptorSortInfoImpl,PersistentSortInfoImpl
Represents sorting information for persistent sorting operations.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a list of expressions used for persistent sorting.voidsetExpressions(List<String> expressions) Sets the expressions to be used for persistent sorting.Methods inherited from interface io.jmix.flowui.component.grid.sort.SortInfo
getMetaPropertyPath, getSortKey, isAscending
-
Method Details
-
getExpressions
Retrieves a list of expressions used for persistent sorting.- Returns:
- a list of expressions
-
setExpressions
Sets the expressions to be used for persistent sorting.In case of JPQL, the
{E}alias can be used for JPA entities. For instance,"function('calc_total_sum', {E}.id)".Note that for
KeyValueEntity, the{E}alias is not supported. Use the concrete alias from the query, e.g."function('calc_total_sum', e.id)".- Parameters:
expressions- the expressions to set
-