Class AbstractPagination

    • Constructor Detail

      • AbstractPagination

        protected AbstractPagination()
    • Method Detail

      • init

        public void init​(int nbItems,
                         int nbItemsPerPage,
                         int firstItemIndex)
        Specified by:
        init in interface Pagination
      • getIconsPath

        public String getIconsPath()
      • getNbItemsPerPage

        public int getNbItemsPerPage()
      • getCurrentPage

        public int getCurrentPage()
      • getNbPage

        public int getNbPage()
      • getIndexForLastPage

        public int getIndexForLastPage()
      • getActionSuffix

        public String getActionSuffix()
      • getBaseURL

        public String getBaseURL()
      • getAltPreviousPage

        public String getAltPreviousPage()
      • getAltNextPage

        public String getAltNextPage()
      • getNumberOfPagesAround

        protected int getNumberOfPagesAround()
      • displayTotalNumberOfPages

        protected boolean displayTotalNumberOfPages()
      • getNbItemPerPageList

        protected List<Integer> getNbItemPerPageList()
      • getIndexThreshold

        protected int getIndexThreshold()
      • getNumberPerPageThreshold

        protected int getNumberPerPageThreshold()
      • getJumperThreshold

        protected int getJumperThreshold()
      • getPaginationAllThreshold

        protected int getPaginationAllThreshold()
      • getStringWithParam

        protected String getStringWithParam​(String key,
                                            String... params)