Package io.jmix.dynmodel.impl.query
Class DynModelSortPathExpressionProvider
java.lang.Object
io.jmix.dynmodel.impl.query.DynModelSortPathExpressionProvider
- All Implemented Interfaces:
SortPathExpressionProvider
@Component("dynmod_DynModelSortPathExpressionProvider")
public class DynModelSortPathExpressionProvider
extends Object
implements SortPathExpressionProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String, Sort.Direction> buildSortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) protected Collection<MetaProperty> getInstanceNameProperties(MetaClass metaClass) getSortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) booleansupports(MetaPropertyPath metaPropertyPath)
-
Field Details
-
pathSupport
-
metadataTools
-
-
Constructor Details
-
DynModelSortPathExpressionProvider
public DynModelSortPathExpressionProvider()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceSortPathExpressionProvider- Returns:
trueif the property path should be sorted by this provider
-
getSortExpressions
public Map<String,Sort.Direction> getSortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) - Specified by:
getSortExpressionsin interfaceSortPathExpressionProvider- Returns:
- sort expressions mapped to their directions, in the exact order they must appear in
order by
-
buildSortExpressions
protected Map<String,Sort.Direction> buildSortExpressions(MetaPropertyPath metaPropertyPath, Sort.Direction sortDirection) -
getInstanceNameProperties
-