Class PagingResult<E extends PersistentObject>


  • public class PagingResult<E extends PersistentObject>
    extends Object
    The Result of a paging request. Contains a list with returned objects and the totalCount of available database entries.
    Author:
    Nils Bühner
    • Constructor Detail

      • PagingResult

        public PagingResult​(List<E> resultList,
                            Number number)
        Constructor
        Parameters:
        resultList -
        number -
    • Method Detail

      • getResultList

        public List<E> getResultList()
        Returns:
        the resultList
      • setResultList

        public void setResultList​(List<E> resultList)
        Parameters:
        resultList - the resultList to set
      • getTotalCount

        public Number getTotalCount()
        Returns:
        the totalCount
      • setTotalCount

        public void setTotalCount​(Number totalCount)
        Parameters:
        totalCount - the totalCount to set