Package | Description |
---|---|
com.atlassian.servicedesk.api.util.paging |
Modifier and Type | Method and Description |
---|---|
PagedResponseImpl<T> |
PagedResponseImpl.Builder.build() |
static <T> PagedResponseImpl<T> |
PagedResponseImpl.empty(boolean hasMore)
Returns an empty PagedResponse with the specified hasNextPage flag
|
static <T> PagedResponseImpl<T> |
PagedResponseImpl.empty(boolean hasMore,
LimitedPagedRequest request)
Returns an empty PagedResponse
|
static <T> PagedResponseImpl<T> |
PagedResponseImpl.empty(boolean hasMore,
PagedRequest request)
Returns an empty PagedResponse
|
static <F,T> PagedResponseImpl<T> |
PagedResponseImpl.transform(PagedResponse<F> input,
com.google.common.base.Function<F,T> mapper)
Converts a given PageResponse contains items of type F into an equivalent PageResponse with items of type T,
transformed by the given mapper.
|
Copyright © 2019 Atlassian. All rights reserved.