public class LegacySortParameterBean extends Object
Modifier and Type | Field and Description |
---|---|
String |
sortBy
(optional) attribute to sort by.
|
String |
sortOrder
(optional) result sort order - may be "asc" for ascending or "desc" for
descending other strings will be ignored.
|
Constructor and Description |
---|
LegacySortParameterBean() |
Modifier and Type | Method and Description |
---|---|
LegacySortParameterBean |
setSortBy(String sortBy) |
LegacySortParameterBean |
setSortOrder(String sortOrder) |
SortParameterBean |
toSortParameterBean()
Create the replacement for this legacy parameter bean.
|
@QueryParam(value="sortby") @DefaultValue(value="name") public String sortBy
@QueryParam(value="sortorder") @DefaultValue(value="asc") public String sortOrder
public LegacySortParameterBean setSortBy(String sortBy)
public LegacySortParameterBean setSortOrder(String sortOrder)
public SortParameterBean toSortParameterBean()
Copyright © 2024 Gentics Software. All rights reserved.