Interface PaginationServiceSupportActionAware

All Known Implementing Classes:
AbstractPaginatedListAction, ListLabelsBySpaceAction, ListPermissionPagesAction, ListUndefinedPagesAction

public interface PaginationServiceSupportActionAware
An indicator to identify whether a subclass of AbstractPaginatedListAction support PaginationService
Since:
7.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
    Get total item of all pages
    default <T> PageResponse<T>
    Will return pagination data in new form
    default boolean
    Indicate does sub class support new way of pagination or not
  • Method Details

    • isSupportPaginationService

      default boolean isSupportPaginationService()
      Indicate does sub class support new way of pagination or not
      Returns:
    • getPageResponse

      default <T> PageResponse<T> getPageResponse()
      Will return pagination data in new form
      Returns:
      optional of page response
    • getItemsCount

      default long getItemsCount()
      Get total item of all pages
      Returns:
      total item