public interface LinkService
| Modifier and Type | Method and Description |
|---|---|
void |
addLinks(@NotNull AbstractRestModel resource,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Add links to the resource.
|
void |
addLinks(@NotNull AbstractRestModel resource,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull String resourceLocation)
Add links to the resource.
|
void |
addPaginationLinks(@NotNull RestPageModel<?> page,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Add pagination links to the pageResponse.
|
void |
addPaginationLinks(@NotNull RestPageModel<?> page,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
int nextStart)
Add pagination links to the pageResponse.
|
void |
addPaginationLinks(@NotNull RestPageModel<?> page,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull String pageLocation)
Add pagination links to the pageResponse.
|
void |
addPaginationSelfLink(@NotNull RestPageModel<?> page,
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull String pageLocation)
Add pagination self link only to the pageResponse.
|
void addLinks(@NotNull
@NotNull AbstractRestModel resource,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo)
resource - the resource ready to go back to the useruriInfo - information about the current requestvoid addLinks(@NotNull
@NotNull AbstractRestModel resource,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull
@NotNull String resourceLocation)
resource - the resource ready to go back to the useruriInfo - information about the current requestresourceLocation - the url for the resource being returned relative to the base URIvoid addPaginationLinks(@NotNull
@NotNull RestPageModel<?> page,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo)
page - the paged response ready to go back to the useruriInfo - information about the current requestvoid addPaginationLinks(@NotNull
@NotNull RestPageModel<?> page,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo,
int nextStart)
page - the paged response ready to go back to the useruriInfo - information about the current requestvoid addPaginationLinks(@NotNull
@NotNull RestPageModel<?> page,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull
@NotNull String pageLocation)
page - the paged response ready to go back to the useruriInfo - information about the current requestpageLocation - the url for the resource being pagedvoid addPaginationSelfLink(@NotNull
@NotNull RestPageModel<?> page,
@NotNull
@NotNull javax.ws.rs.core.UriInfo uriInfo,
@NotNull
@NotNull String pageLocation)
page - the paged response ready to go back to the useruriInfo - information about the current requestpageLocation - the url for the resource being pagedCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.