Interface PaginationServiceSupportActionAware
-
- All Known Implementing Classes:
AbstractPaginatedListAction,ListLabelsBySpaceAction,ListPermissionPagesAction,ListUndefinedPagesAction
public interface PaginationServiceSupportActionAwareAn indicator to identify whether a subclass ofAbstractPaginatedListActionsupportPaginationService- Since:
- 7.5.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default longgetItemsCount()Get total item of all pagesdefault <T> PageResponse<T>getPageResponse()Will return pagination data in new formdefault booleanisSupportPaginationService()Indicate does sub class support new way of pagination or not
-
-
-
Method Detail
-
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
-
-