Class Pagination

  • All Implemented Interfaces:
    org.alfresco.utility.model.Model

    public class Pagination
    extends org.alfresco.utility.model.TestModel
    Search response sample. "pagination": { "maxItems": 100, "hasMoreItems": false, "totalItems": 0, "count": 0, "skipCount": 0 },
    • Constructor Summary

      Constructors 
      Constructor Description
      Pagination()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getCount()  
      java.lang.Integer getMaxItems()  
      java.lang.Integer getSkipCount()  
      java.lang.Integer getTotalItems()  
      boolean isHasMoreItems()  
      void setCount​(java.lang.Integer count)  
      void setHasMoreItems​(boolean hasMoreItems)  
      void setMaxItems​(java.lang.Integer maxItems)  
      void setSkipCount​(java.lang.Integer skipCount)  
      void setTotalItems​(java.lang.Integer totalItems)  
      • Methods inherited from class org.alfresco.utility.model.TestModel

        setRandomValuesForAllFields, toInfo, toJson, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Pagination

        public Pagination()
    • Method Detail

      • getMaxItems

        public java.lang.Integer getMaxItems()
      • setMaxItems

        public void setMaxItems​(java.lang.Integer maxItems)
      • getTotalItems

        public java.lang.Integer getTotalItems()
      • setTotalItems

        public void setTotalItems​(java.lang.Integer totalItems)
      • getCount

        public java.lang.Integer getCount()
      • setCount

        public void setCount​(java.lang.Integer count)
      • getSkipCount

        public java.lang.Integer getSkipCount()
      • setSkipCount

        public void setSkipCount​(java.lang.Integer skipCount)
      • isHasMoreItems

        public boolean isHasMoreItems()
      • setHasMoreItems

        public void setHasMoreItems​(boolean hasMoreItems)