Class ManualTotalPaginationSupport<T>

  • All Implemented Interfaces:
    PaginationSupport<T>

    public class ManualTotalPaginationSupport<T>
    extends PaginationSupport<T>
    Deprecated.
    since 6.10.0. Use PaginationService instead.
    This class allows us to set the total number of items without reading the size of the items list. This means we don't have to load all the items to determine the size.
    • Constructor Detail

      • ManualTotalPaginationSupport

        public ManualTotalPaginationSupport()
        Deprecated.
      • ManualTotalPaginationSupport

        public ManualTotalPaginationSupport​(int pageSize)
        Deprecated.
      • ManualTotalPaginationSupport

        public ManualTotalPaginationSupport​(List<T> items,
                                            int startIndex,
                                            int total,
                                            int pageSize)
        Deprecated.