public class LegacyPagingParameterBean extends Object
Modifier and Type | Field and Description |
---|---|
int |
maxItems
maximum number of items to be returned, set to -1 for returning all items
|
int |
skipCount
number of items to be skipped, set to 0 for skipping no items
|
Constructor and Description |
---|
LegacyPagingParameterBean() |
Modifier and Type | Method and Description |
---|---|
LegacyPagingParameterBean |
setMaxItems(int maxItems) |
LegacyPagingParameterBean |
setSkipCount(int skipCount) |
PagingParameterBean |
toPagingParameterBean()
Create the replacement for this legacy parameter bean.
|
@QueryParam(value="skipCount") @DefaultValue(value="0") public int skipCount
@QueryParam(value="maxItems") @DefaultValue(value="-1") public int maxItems
public LegacyPagingParameterBean setSkipCount(int skipCount)
public LegacyPagingParameterBean setMaxItems(int maxItems)
public PagingParameterBean toPagingParameterBean()
Copyright © 2024 Gentics Software. All rights reserved.