Known Indirect Subclasses
|
Summary
[Expand]
Inherited Methods |
From interface
com.atlassian.stash.util.Page
@Deprecated
@Nullable
String
|
getFilter()
This method is deprecated.
Deprecated in Stash 2.0 for removal in 3.0. When a caller provides a filter for a search, it is
expected that the caller will retain knowledge of that filter in order to apply it to subsequent
pages as they are requested. Additionally, because many types support filtering which is more
complex than can be applied by a single String , the support for including the filter with
the page offered by this parameter is frequently insufficient. Existing code which populates this
property will continue to do so, but has been deprecated for removal. Such methods will document
the expected behaviour moving forward.
|
boolean
|
getIsLastPage()
|
int
|
getLimit()
|
@Nullable
PageRequest
|
getNextPageRequest()
|
@Nullable
SortedMap<Integer, T>
|
getOrdinalIndexedValues()
Get a map of the page values mapped by their ordinal values.
|
int
|
getSize()
|
int
|
getStart()
|
@Nonnull
Iterable<T>
|
getValues()
|
@Nonnull
<E>
Page<E>
|
transform(Function<? super T, ? extends E> transformFunction)
Transforms the page from a page of Ts to a page of Es
|
|
Constants
public
static
final
long
NO_ID
Constant Value:
-1
(0xffffffffffffffff)
Public Methods
public
boolean
getIsFirstPage
()
Returns
- true if this is the first page of results
public
long
getPreviousPageStartId
()
Returns
- the ID of the activity of previous page of results or
NO_ID
if this is the first page