public interface LinkService
| Modifier and Type | Method and Description |
|---|---|
void |
addLinks(AbstractRestModel resource,
javax.ws.rs.core.UriInfo uriInfo)
Add links to the resource.
|
void |
addLinks(AbstractRestModel resource,
javax.ws.rs.core.UriInfo uriInfo,
String resourceLocation)
Add links to the resource.
|
void |
addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo)
Add pagination links to the pageResponse.
|
void |
addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
int nextStart)
Add pagination links to the pageResponse.
|
void |
addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Add pagination links to the pageResponse.
|
void |
addPaginationSelfLink(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Add pagination self link only to the pageResponse.
|
void addLinks(@NotNull
AbstractRestModel resource,
@NotNull
javax.ws.rs.core.UriInfo uriInfo)
resource - the resource ready to go back to the useruriInfo - information about the current requestvoid addLinks(@NotNull
AbstractRestModel resource,
@NotNull
javax.ws.rs.core.UriInfo uriInfo,
@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
RestPageModel<?> page,
@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
RestPageModel<?> page,
@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
RestPageModel<?> page,
@NotNull
javax.ws.rs.core.UriInfo uriInfo,
@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
RestPageModel<?> page,
@NotNull
javax.ws.rs.core.UriInfo uriInfo,
@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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.