Class Pageable<T>
java.lang.Object
org.bgerp.model.Pageable<T>
- Direct Known Subclasses:
Data, QueryTable, SearchResult
Pagination supporting search results list
-
Constructor Summary
ConstructorsConstructorDescriptionPageable()Pageable(int pageSize) Constructor with page sizePageable(DynActionForm form) Constructor sets a created Pageable object toformresponse.Pageable(DynActionForm form, int defaultPageSize) Constructor sets a created Pageable object toformresponse. -
Method Summary
-
Constructor Details
-
Pageable
public Pageable() -
Pageable
public Pageable(int pageSize) Constructor with page size- Parameters:
pageSize-
-
Pageable
Constructor sets a created Pageable object toformresponse. Restores a page size from user personalization. If nothing is stored there, thendefaultPageSizeis used.- Parameters:
form- the formdefaultPageSize- the default page size
-
Pageable
Constructor sets a created Pageable object toformresponse. Restores a page size from user personalization. If nothing is stored there, thenPage.DEFAULT_PAGE_SIZEis used.- Parameters:
form- the form
-
-
Method Details
-
withoutPagination
-
getPage
- Returns:
- pagination options
-
getList
-
add
-