Class RestNavigationImpl
java.lang.Object
com.atlassian.confluence.plugins.rest.navigation.v2.impl.RestNavigationImpl
- All Implemented Interfaces:
Navigation
,RestNavigation
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.api.nav.Navigation
Navigation.Builder, Navigation.ContentNav, Navigation.ContentRestrictionByOperationNav, Navigation.ExperimentalContentNav, Navigation.ExperimentalContentTemplateNav, Navigation.ExperimentalNav, Navigation.ExperimentalSynchronyDataNav, Navigation.GroupNav, Navigation.LongTaskNav, Navigation.SpaceContentNav, Navigation.SpaceNav, Navigation.UserNav
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.v2.api.services.RestNavigation
RestNavigation.RestBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.confluence.plugins.rest.navigation.v2.impl.RestNavigationImpl.BaseApiPathBuilder
provides a nav builder that knows about the base rest api path.baseUrl()
collection
(Content content) a builder to produce a URL to the collection that the content belongs to.collection
(Space spaceData) a builder to produce a URL to the collection that the space belongs to.create a content nav builder to reference a piece of contentcontent
(ContentSelector selector) Create a content nav builder to reference a piece of content with a particular id, status and version.create a content nav builder to reference a piece of contentcreate a content nav builder to reference a piece of contentfromReference
(Reference reference) fromUriBuilder
(javax.ws.rs.core.UriBuilder uriBuilder) a builder to produce a url to a user grouplongTask
(LongTaskId id) create a space nav builder to reference the given spacecreate a space nav builder to reference the given spaceuser
(com.atlassian.sal.api.user.UserKey userKey) create a user nav builder to reference the user with the given user key
-
Constructor Details
-
RestNavigationImpl
-
-
Method Details
-
experimental
- Specified by:
experimental
in interfaceNavigation
-
content
Description copied from interface:Navigation
create a content nav builder to reference a piece of content- Specified by:
content
in interfaceNavigation
-
content
Description copied from interface:Navigation
create a content nav builder to reference a piece of content- Specified by:
content
in interfaceNavigation
-
content
Description copied from interface:Navigation
create a content nav builder to reference a piece of content- Specified by:
content
in interfaceNavigation
-
content
Description copied from interface:Navigation
Create a content nav builder to reference a piece of content with a particular id, status and version.- Specified by:
content
in interfaceNavigation
-
baseApiPath
public com.atlassian.confluence.plugins.rest.navigation.v2.impl.RestNavigationImpl.BaseApiPathBuilder baseApiPath()provides a nav builder that knows about the base rest api path. Useful for building other builders- Specified by:
baseApiPath
in interfaceNavigation
- Returns:
-
baseUrl
- Specified by:
baseUrl
in interfaceNavigation
-
contextPath
- Specified by:
contextPath
in interfaceNavigation
-
fromUriBuilder
- Specified by:
fromUriBuilder
in interfaceRestNavigation
-
fromReference
- Specified by:
fromReference
in interfaceNavigation
-
collection
Description copied from interface:Navigation
a builder to produce a URL to the collection that the content belongs to.- Specified by:
collection
in interfaceNavigation
-
collection
Description copied from interface:Navigation
a builder to produce a URL to the collection that the space belongs to.- Specified by:
collection
in interfaceNavigation
-
space
Description copied from interface:Navigation
create a space nav builder to reference the given space- Specified by:
space
in interfaceNavigation
-
space
Description copied from interface:Navigation
create a space nav builder to reference the given space- Specified by:
space
in interfaceNavigation
-
group
Description copied from interface:Navigation
a builder to produce a url to a user group- Specified by:
group
in interfaceNavigation
-
user
Description copied from interface:Navigation
create a user nav builder to reference the user with the given user key- Specified by:
user
in interfaceNavigation
- Returns:
-
longTask
- Specified by:
longTask
in interfaceNavigation
-