public class RestNavigationImpl extends Object implements RestNavigation
RestNavigation.RestBuilder
Navigation.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 Navigation
public Navigation.ContentNav content(Content content)
Navigation
content
in interface Navigation
public Navigation.ContentNav content(Reference<Content> contentReference)
Navigation
content
in interface Navigation
public Navigation.ContentNav content(ContentId contentId)
Navigation
content
in interface Navigation
public Navigation.ContentNav content(ContentSelector selector)
Navigation
content
in interface Navigation
public com.atlassian.confluence.plugins.rest.navigation.impl.RestNavigationImpl.BaseApiPathBuilder baseApiPath()
baseApiPath
in interface Navigation
public String baseUrl()
baseUrl
in interface Navigation
public String contextPath()
contextPath
in interface Navigation
public RestNavigation.RestBuilder fromUriBuilder(javax.ws.rs.core.UriBuilder uriBuilder)
fromUriBuilder
in interface RestNavigation
public Navigation.Builder fromReference(Reference reference)
fromReference
in interface Navigation
public Navigation.Builder collection(Content content)
Navigation
collection
in interface Navigation
public Navigation.Builder collection(Space spaceData)
Navigation
collection
in interface Navigation
public Navigation.SpaceNav space(Space space)
Navigation
space
in interface Navigation
public Navigation.SpaceNav space(Reference<Space> space)
Navigation
space
in interface Navigation
public Navigation.GroupNav group(Group group)
Navigation
group
in interface Navigation
public Navigation.UserNav user(com.atlassian.sal.api.user.UserKey userKey)
Navigation
user
in interface Navigation
public Navigation.LongTaskNav longTask(LongTaskId id)
longTask
in interface Navigation
Copyright © 2003–2021 Atlassian. All rights reserved.