Class LegacySortParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.LegacySortParameterBean
Parameter bean for sorting of legacy list endpoints.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetSortOrder
(String sortOrder) Create the replacement for this legacy parameter bean.
-
Field Details
-
sortBy
(optional) attribute to sort by. It is possible to sort by name, cdate, edate, pdate, filename, template, folder, masterNode, priority, excluded, deletedat. defaults to name -
sortOrder
(optional) result sort order - may be "asc" for ascending or "desc" for descending other strings will be ignored. defaults to "asc".
-
-
Constructor Details
-
LegacySortParameterBean
public LegacySortParameterBean()
-
-
Method Details
-
setSortBy
-
setSortOrder
-
toSortParameterBean
Create the replacement for this legacy parameter bean.- Returns:
- A sort parameter bean with the same sort criteria and sort order
-