public static class JacksonMappingAwareSortTranslator.SortTranslator extends Object
Sort orders from Jackson-mapped field names to PersistentProperty names.| Constructor and Description |
|---|
SortTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Sort |
translateSort(Sort input,
PersistentEntity<?,?> rootEntity)
Translates
Sort orders from Jackson-mapped field names to PersistentProperty names. |
public Sort translateSort(Sort input, PersistentEntity<?,?> rootEntity)
Sort orders from Jackson-mapped field names to PersistentProperty names. Properties
that cannot be resolved are dropped.input - must not be null.rootEntity - must not be null.Sort with translated field names or null if translation dropped all sort fields.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.