Package org.lockss.laaws.crawler.model
Class PageInfo
java.lang.Object
org.lockss.laaws.crawler.model.PageInfo
The information related to pagination of content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontinuationToken(String continuationToken) boolean@NotNull StringThe continuation token.@NotNull StringThe link to the current page.The link to the next page.@NotNull IntegerThe number of results per page.@NotNull IntegerThe total number of elements to be paginatedinthashCode()resultsPerPage(Integer resultsPerPage) voidsetContinuationToken(String continuationToken) voidsetCurLink(String curLink) voidsetNextLink(String nextLink) voidsetResultsPerPage(Integer resultsPerPage) voidsetTotalCount(Integer totalCount) toString()totalCount(Integer totalCount)
-
Constructor Details
-
PageInfo
public PageInfo()
-
-
Method Details
-
totalCount
-
getTotalCount
The total number of elements to be paginated- Returns:
- totalCount
-
setTotalCount
-
resultsPerPage
-
getResultsPerPage
The number of results per page.- Returns:
- resultsPerPage
-
setResultsPerPage
-
continuationToken
-
getContinuationToken
The continuation token.- Returns:
- continuationToken
-
setContinuationToken
-
curLink
-
getCurLink
The link to the current page.- Returns:
- curLink
-
setCurLink
-
nextLink
-
getNextLink
The link to the next page.- Returns:
- nextLink
-
setNextLink
-
equals
-
hashCode
public int hashCode() -
toString
-