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 TypeMethodDescriptiondefault long
Get total item of all pagesdefault <T> PageResponse<T>
Will return pagination data in new formdefault 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
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
-