Class LegacyPagingParameterBean

java.lang.Object
com.gentics.contentnode.rest.resource.parameter.LegacyPagingParameterBean

public class LegacyPagingParameterBean extends Object
Parameter bean for paging of legacy list endpoints.
  • Field Details

    • skipCount

      @QueryParam("skipCount") @DefaultValue("0") public int skipCount
      number of items to be skipped, set to 0 for skipping no items
    • maxItems

      @QueryParam("maxItems") @DefaultValue("-1") public int maxItems
      maximum number of items to be returned, set to -1 for returning all items
  • Constructor Details

    • LegacyPagingParameterBean

      public LegacyPagingParameterBean()
  • Method Details

    • setSkipCount

      public LegacyPagingParameterBean setSkipCount(int skipCount)
    • setMaxItems

      public LegacyPagingParameterBean setMaxItems(int maxItems)
    • toPagingParameterBean

      public PagingParameterBean toPagingParameterBean()
      Create the replacement for this legacy parameter bean.
      Returns:
      A paging parameter bean with the same paging settings