Interface PaginationServiceSupportActionAware
-
- All Known Implementing Classes:
AbstractPaginatedListAction
,ListLabelsBySpaceAction
,ListPermissionPagesAction
,ListUndefinedPagesAction
public interface PaginationServiceSupportActionAware
An indicator to identify whether a subclass ofAbstractPaginatedListAction
supportPaginationService
- Since:
- 7.5.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default long
getItemsCount()
Get total item of all pagesdefault <T> PageResponse<T>
getPageResponse()
Will return pagination data in new formdefault boolean
isSupportPaginationService()
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
-
-