Class LegacyPagingParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.LegacyPagingParameterBean
Parameter bean for paging of legacy list endpoints.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetMaxItems
(int maxItems) setSkipCount
(int skipCount) Create the replacement for this legacy parameter bean.
-
Field Details
-
skipCount
@QueryParam("skipCount") @DefaultValue("0") public int skipCountnumber of items to be skipped, set to 0 for skipping no items -
maxItems
@QueryParam("maxItems") @DefaultValue("-1") public int maxItemsmaximum number of items to be returned, set to -1 for returning all items
-
-
Constructor Details
-
LegacyPagingParameterBean
public LegacyPagingParameterBean()
-
-
Method Details
-
setSkipCount
-
setMaxItems
-
toPagingParameterBean
Create the replacement for this legacy parameter bean.- Returns:
- A paging parameter bean with the same paging settings
-