java.lang.Object
org.alfresco.rest.framework.resource.parameters.Paging

public class Paging extends Object
Represents paging of collections of resources. Set by the client request.
skipCount - How many entries exist in the entire collection before those included in the list
maxItems - The maximum number of items the client requires. Defaults to 100.
Author:
Gethin James, Martin Muller (mmuller)
  • Field Details

  • Method Details

    • getSkipCount

      public int getSkipCount()
      How many entries exist in the entire collection before those included in the list
      Returns:
      Integer
    • getMaxItems

      public int getMaxItems()
      The maximum number of items the client requires. Defaults to 100.
      Returns:
      Integer
    • getSearchAfterToken

      public String getSearchAfterToken()
      The opaque search_after cursor for the next page, or null if not using cursor-based paging.
      Returns:
      String
    • valueOf

      public static Paging valueOf(int skipCount, int maxItems)
    • valueOf

      public static Paging valueOf(int skipCount, int maxItems, String searchAfterToken)
    • toString

      public String toString()
      Overrides:
      toString in class Object