Modifier and Type | Method and Description |
---|---|
static <T> PageResponse<T> |
Paginator.getPage(Collection<T> input,
PageRequest pageRequest)
Deprecated.
since 5.10 use
PaginationService instead |
static <W,T> PageResponse<T> |
Paginator.getPage(Collection<W> input,
PageRequest pageRequest,
com.google.common.base.Function<? super W,T> transformer)
Deprecated.
since 5.10 use
PaginationService instead |
Modifier and Type | Method and Description |
---|---|
PageRequest |
PageRequestProvider.getValue(com.sun.jersey.api.core.HttpContext httpContext) |
Modifier and Type | Method and Description |
---|---|
<T extends AbstractRestModel> |
PaginationServiceImpl.getExpandablePage(PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation) |
<T extends AbstractRestModel> |
PaginationService.getExpandablePage(PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Constructs a
RestPageModel which is an empty page with a self link. |
<W,T extends AbstractRestModel> |
PaginationServiceImpl.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer) |
<W,T extends AbstractRestModel> |
PaginationService.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer)
Transforms a list of domain objects to
AbstractRestModel s and constructs a RestPageModel from the
result. |
<W,T extends AbstractRestModel> |
PaginationServiceImpl.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer,
String pageLocation) |
<W,T extends AbstractRestModel> |
PaginationService.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer,
String pageLocation)
Transforms a list of domain objects to
AbstractRestModel s and constructs a RestPageModel from the
result. |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
PlanConfigResource.getJobsForPlan(String planKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Retrieves all jobs for a build plan.
|
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestStage> |
StageConfigResource.getAllStagesForPlan(String planKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Retrieves all the stages that make up a build plan.
|
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
JobConfigResource.getAllJobsForStage(String planKeyString,
long stageId,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Return all jobs for the given stage.
|
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
RestArtifactServiceImpl.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo) |
RestPageModel<RestJob> |
RestArtifactService.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated lists of jobs subscribing to a specified artifact.
|
RestPageModel<RestJob> |
ArtifactResource.getJobsConsumingArtifact(String jobKeyString,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of
jobs subscribing a specified artifact. |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestTask> |
TaskConfigResource.getAllTasksForJob(String planKeyString,
long stageId,
String jobKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Return all tasks for a given job.
|
Modifier and Type | Field and Description |
---|---|
static PageRequest |
PageRequestSanitiser.DEFAULT_JOB_PAGE_REQUEST |
static PageRequest |
PageRequest.DEFAULT_PAGE_REQUEST |
static PageRequest |
PageRequestSanitiser.DEFAULT_STAGE_PAGE_REQUEST |
static PageRequest |
PageRequestSanitiser.DEFAULT_TASK_PAGE_REQUEST |
Modifier and Type | Method and Description |
---|---|
static PageRequest |
PageRequestSanitiser.forAnything(PageRequest originalRequest) |
static PageRequest |
PageRequestSanitiser.forJobs(PageRequest originalRequest) |
static PageRequest |
PageRequestSanitiser.forStages(PageRequest originalRequest) |
static PageRequest |
PageRequestSanitiser.forTasks(PageRequest originalRequest) |
Modifier and Type | Method and Description |
---|---|
static <T> RestPageModel<T> |
RestPageModel.expandable(PageRequest pageRequest)
Construct a page model for an expandable result list, without any results yet.
|
static PageRequest |
PageRequestSanitiser.forAnything(PageRequest originalRequest) |
static <T> RestPageModel<T> |
RestPageModel.forItems(PageRequest pageRequest,
Iterable<T> items)
Construct a page model for a result list.
|
static <T> RestPageModel<T> |
RestPageModel.forItems(PageRequest pageRequest,
Iterable<T> items,
boolean more)
Construct a page model for a result list.
|
static PageRequest |
PageRequestSanitiser.forJobs(PageRequest originalRequest) |
static PageRequest |
PageRequestSanitiser.forStages(PageRequest originalRequest) |
static PageRequest |
PageRequestSanitiser.forTasks(PageRequest originalRequest) |
Constructor and Description |
---|
PageResponse(PageRequest pageRequest,
List<T> items)
Deprecated.
|
PageResponse(PageRequest pageRequest,
List<T> items,
boolean more)
Deprecated.
|
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.