Work with Paging

Use the Paging class to work with paging information, such as pagination on a list of files matching a search query or a list of access log entries.

Paging Class 

Represents paging information, such as the page of records returned from a search query. Use Paging with SearchResult to work with results returned from a search query. See Slack’s search.all method.

Paging Methods 

The following are methods for Paging.

getCount() 

Gets the number of records per page.

Signature

1public Integer getCount()

Return Value

Type: Integer

getIid() 

Signature

1public String getIid()

Return Value

Type: String

getPage() 

Gets the page of records returned.

Signature

1public Integer getPage()

Return Value

Type: Integer

getPages() 

Gets the total number of pages matching the query.

Signature

1public Integer getPages()

Return Value

Type: Integer

getPerPage() 

Signature

1public Integer getPerPage()

Return Value

Type: Integer

getSpill() 

Signature

1public Integer getSpill()

Return Value

Type: Integer

getTotal() 

Signature

1public Integer getTotal()

Return Value

Type: Integer

setCount(count) 

Signature

1public void setCount(Integer count)

Parameters

count

Type: Integer

Return Value

Type: void

setIid(iid) 

Signature

1public void setIid(String iid)

Parameters

iid

Type: String

Return Value

Type: void

setPage(page) 

Signature

1public void setPage(Integer page)

Parameters

page

Type: Integer

Return Value

Type: void

setPages(pages) 

Signature

1public void setPages(Integer pages)

Parameters

pages

Type: Integer

Return Value

Type: void

setPerPage(perPage) 

Signature

1public void setPerPage(Integer perPage)

Parameters

perPage

Type: Integer

Return Value

Type: void

setSpill(spill) 

Signature

1public void setSpill(Integer spill)

Parameters

spill

Type: Integer

Return Value

Type: void

setTotal(total) 

Signature

1public void setTotal(Integer total)

Parameters

total

Type: Integer

Return Value

Type: void

Beta Feature

This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.