Package org.camunda.bpm.engine.impl.json
Class JsonLegacyQueryOrderingPropertyConverter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.json.JsonLegacyQueryOrderingPropertyConverter
-
public class JsonLegacyQueryOrderingPropertyConverter extends java.lang.Object
Deserializes query ordering properties from the deprecated 7.2 format in which the SQL-like orderBy parameter was used. Is able to deserialize strings like:- RES.ID_ asc
- LOWER(RES.NAME_) desc
- RES.ID_ asc, RES.NAME_ desc
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description static JsonLegacyQueryOrderingPropertyConverter
INSTANCE
static java.lang.String
ORDER_BY_DELIMITER
-
Constructor Summary
Constructors Constructor Description JsonLegacyQueryOrderingPropertyConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<QueryOrderingProperty>
fromOrderByString(java.lang.String orderByString)
-
-
-
Field Detail
-
ORDER_BY_DELIMITER
public static final java.lang.String ORDER_BY_DELIMITER
- See Also:
- Constant Field Values
-
INSTANCE
public static JsonLegacyQueryOrderingPropertyConverter INSTANCE
-
-
Method Detail
-
fromOrderByString
public java.util.List<QueryOrderingProperty> fromOrderByString(java.lang.String orderByString)
-
-