| com.atlassian.stash.util.Page<T> |
Known Indirect Subclasses
FilteredPageImpl<T>,
PageImpl<T>,
PullRequestActivityPage<T extends PullRequestActivity>,
SimplePullRequestActivityPage<T extends PullRequestActivity>
|
Provides support for pagination. This interface makes no guarantee that the next Page will have a start
offset of getStart() + getLimit().
Clients should always use getNextPageRequest()
to navigate to the next page.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
Get a map of the page values mapped by their ordinal values.
| |||||||||||
Transforms the page from a page of Ts to a page of Es
| |||||||||||
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.
true if there are no more results
Get a map of the page values mapped by their ordinal values. For filtered pages, the ordinals are the ordinals in the underlying paged collection.
Transforms the page from a page of Ts to a page of Es
| transformFunction | the transformer |
|---|