Package com.mayam.wf.ws.rest.domain
Class Collection.Paging
java.lang.Object
com.mayam.wf.ws.rest.domain.Collection.PagingParams
com.mayam.wf.ws.rest.domain.Collection.Paging
- Enclosing class:
Collection<T>
-
Field Summary
Fields inherited from class com.mayam.wf.ws.rest.domain.Collection.PagingParams
DEFAULT_PAGE_SIZE, PARAM_PAGE_SIZE, PARAM_ROW_OFFSET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static Collection.Paging
static Collection.Paging
of
(Collection.PagingParams params, Integer rowCount) void
setRowCount
(Integer rowCount) toString()
Methods inherited from class com.mayam.wf.ws.rest.domain.Collection.PagingParams
getPageSize, getRowOffset, nextPage, previousPage, setPageSize, setRowOffset
-
Constructor Details
-
Paging
public Paging()
-
-
Method Details
-
of
-
of
-
getRowCount
-
setRowCount
-
hasNextPage
public boolean hasNextPage() -
hasPreviousPage
public boolean hasPreviousPage() -
toString
- Overrides:
toString
in classCollection.PagingParams
-