public class NavigationImpl extends Object implements RestNavigation
RestNavigation.RestBuilder
Navigation.Builder, Navigation.ContentNav, Navigation.ContentRestrictionByOperationNav, Navigation.ExperimentalContentNav, Navigation.ExperimentalNav, Navigation.LongTaskNav, Navigation.SpaceContentNav, Navigation.SpaceNav
Constructor and Description |
---|
NavigationImpl(String baseUrl,
String contextPath) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.confluence.api.impl.service.nav.NavigationImpl.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(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.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
|
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 com.atlassian.confluence.api.impl.service.nav.NavigationImpl.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.LongTaskNav longTask(LongTaskId id)
longTask
in interface Navigation
Copyright © 2003–2016 Atlassian. All rights reserved.