Class PagingState
java.lang.Object
com.aquima.interactions.composer.model.list.state.PagingState
- All Implemented Interfaces:
Serializable
Class to remember the state of the caselist.
- Since:
- 9.2
- Author:
- B. van de Ven
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
boolean
boolean
boolean
boolean
void
navigate
(int pageNumber) void
reset()
void
setPageSize
(int pageSize) void
setTotalRecords
(int total)
-
Constructor Details
-
PagingState
public PagingState(int pageSize) Constructs a new PagingState.- Parameters:
pageSize
- the page size
-
-
Method Details
-
getRecordStart
public int getRecordStart() -
getRecordEnd
public int getRecordEnd() -
isFirstPage
public boolean isFirstPage() -
isLastPage
public boolean isLastPage() -
hasPreviousPage
public boolean hasPreviousPage() -
hasNextPage
public boolean hasNextPage() -
setTotalRecords
public void setTotalRecords(int total) -
getTotalRecords
public int getTotalRecords() -
getCurrentPage
public int getCurrentPage() -
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int pageSize) -
getTotalPages
public int getTotalPages() -
reset
public void reset()
-