public class RestNavigationImpl extends Object implements RestNavigation
RestNavigation.RestBuilderNavigation.Builder, Navigation.ContentNav, Navigation.ContentRestrictionByOperationNav, Navigation.ExperimentalContentNav, Navigation.ExperimentalContentTemplateNav, Navigation.ExperimentalNav, Navigation.ExperimentalSynchronyDataNav, Navigation.GroupNav, Navigation.LongTaskNav, Navigation.SpaceContentNav, Navigation.SpaceNav, Navigation.UserNav| Constructor and Description |
|---|
RestNavigationImpl(String baseUrl,
String contextPath) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.confluence.plugins.rest.navigation.impl.RestNavigationImpl.BaseApiPathBuilder |
baseApiPath()
provides a nav builder that knows about the base rest api path.
|
String |
baseUrl() |
Navigation.Builder |
collection(Content content)
a builder to produce a URL to the collection that the content belongs to.
|
Navigation.Builder |
collection(Space spaceData)
a builder to produce a URL to the collection that the space belongs to.
|
Navigation.ContentNav |
content(Content content)
create a content nav builder to reference a piece of content
|
Navigation.ContentNav |
content(ContentId contentId)
create a content nav builder to reference a piece of content
|
Navigation.ContentNav |
content(ContentSelector selector)
Create a content nav builder to reference a piece of content with a particular id, status and version.
|
Navigation.ContentNav |
content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content
|
String |
contextPath() |
Navigation.ExperimentalNav |
experimental() |
Navigation.Builder |
fromReference(Reference reference) |
RestNavigation.RestBuilder |
fromUriBuilder(javax.ws.rs.core.UriBuilder uriBuilder) |
Navigation.GroupNav |
group(Group group)
a builder to produce a url to a user group
|
Navigation.LongTaskNav |
longTask(LongTaskId id) |
Navigation.SpaceNav |
space(Reference<Space> space)
create a space nav builder to reference the given space
|
Navigation.SpaceNav |
space(Space space)
create a space nav builder to reference the given space
|
Navigation.UserNav |
user(com.atlassian.sal.api.user.UserKey userKey)
create a user nav builder to reference the user with the given user key
|
public Navigation.ExperimentalNav experimental()
experimental in interface Navigationpublic Navigation.ContentNav content(Content content)
Navigationcontent in interface Navigationpublic Navigation.ContentNav content(Reference<Content> contentReference)
Navigationcontent in interface Navigationpublic Navigation.ContentNav content(ContentId contentId)
Navigationcontent in interface Navigationpublic Navigation.ContentNav content(ContentSelector selector)
Navigationcontent in interface Navigationpublic com.atlassian.confluence.plugins.rest.navigation.impl.RestNavigationImpl.BaseApiPathBuilder baseApiPath()
baseApiPath in interface Navigationpublic String baseUrl()
baseUrl in interface Navigationpublic String contextPath()
contextPath in interface Navigationpublic RestNavigation.RestBuilder fromUriBuilder(javax.ws.rs.core.UriBuilder uriBuilder)
fromUriBuilder in interface RestNavigationpublic Navigation.Builder fromReference(Reference reference)
fromReference in interface Navigationpublic Navigation.Builder collection(Content content)
Navigationcollection in interface Navigationpublic Navigation.Builder collection(Space spaceData)
Navigationcollection in interface Navigationpublic Navigation.SpaceNav space(Space space)
Navigationspace in interface Navigationpublic Navigation.SpaceNav space(Reference<Space> space)
Navigationspace in interface Navigationpublic Navigation.GroupNav group(Group group)
Navigationgroup in interface Navigationpublic Navigation.UserNav user(com.atlassian.sal.api.user.UserKey userKey)
Navigationuser in interface Navigationpublic Navigation.LongTaskNav longTask(LongTaskId id)
longTask in interface NavigationCopyright © 2003–2021 Atlassian. All rights reserved.