Class Pagination

java.lang.Object
org.alfresco.model.model.Pagination

@Validated public class Pagination extends Object
Pagination
  • Constructor Details

    • Pagination

      public Pagination()
  • Method Details

    • count

      public Pagination count(Long count)
    • getCount

      public Long getCount()
      The number of objects in the entries array.
      Returns:
      count
    • setCount

      public void setCount(Long count)
    • hasMoreItems

      public Pagination hasMoreItems(Boolean hasMoreItems)
    • isHasMoreItems

      public Boolean isHasMoreItems()
      A boolean value which is **true** if there are more entities in the collection beyond those in this response. A true value means a request with a larger value for the **skipCount** or the **maxItems** parameter will return more entities.
      Returns:
      hasMoreItems
    • setHasMoreItems

      public void setHasMoreItems(Boolean hasMoreItems)
    • totalItems

      public Pagination totalItems(Long totalItems)
    • getTotalItems

      public Long getTotalItems()
      An integer describing the total number of entities in the collection. The API might not be able to determine this value, in which case this property will not be present.
      Returns:
      totalItems
    • setTotalItems

      public void setTotalItems(Long totalItems)
    • skipCount

      public Pagination skipCount(Long skipCount)
    • getSkipCount

      public Long getSkipCount()
      An integer describing how many entities exist in the collection before those included in this list. If there was no **skipCount** parameter then the default value is 0.
      Returns:
      skipCount
    • setSkipCount

      public void setSkipCount(Long skipCount)
    • maxItems

      public Pagination maxItems(Long maxItems)
    • getMaxItems

      public Long getMaxItems()
      The value of the **maxItems** parameter used to generate this list. If there was no **maxItems** parameter then the default value is 100.
      Returns:
      maxItems
    • setMaxItems

      public void setMaxItems(Long maxItems)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object