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.ColorSchemeNav, Navigation.ContentNav, Navigation.ContentRestrictionByOperationNav, Navigation.ExperimentalContentNav, Navigation.ExperimentalContentTemplateNav, Navigation.ExperimentalNav, Navigation.ExperimentalSynchronyDataNav, Navigation.GroupNav, Navigation.LongTaskNav, Navigation.RelevantViewRestrictionsNav, Navigation.SpaceContentNav, Navigation.SpaceNav, Navigation.SpacePermissionNav, Navigation.UserNavNested classes/interfaces inherited from interface com.atlassian.confluence.rest.v2.api.services.RestNavigation
RestNavigation.RestBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.confluence.plugins.rest.navigation.v2.impl.RestNavigationImpl.BaseApiPathBuilderprovides 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 spacespacePermission(Reference<SpacePermissionContainer> spacePermissions) create a space permission nav builder to reference all the permissions of the given space restrictionspacePermission(String spaceKey) create a space permission nav builder to reference all the permissions of the given space keyuser(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:
experimentalin interfaceNavigation
-
content
Description copied from interface:Navigationcreate a content nav builder to reference a piece of content- Specified by:
contentin interfaceNavigation
-
content
Description copied from interface:Navigationcreate a content nav builder to reference a piece of content- Specified by:
contentin interfaceNavigation
-
content
Description copied from interface:Navigationcreate a content nav builder to reference a piece of content- Specified by:
contentin interfaceNavigation
-
content
Description copied from interface:NavigationCreate a content nav builder to reference a piece of content with a particular id, status and version.- Specified by:
contentin 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:
baseApiPathin interfaceNavigation- Returns:
-
baseUrl
- Specified by:
baseUrlin interfaceNavigation
-
contextPath
- Specified by:
contextPathin interfaceNavigation
-
fromUriBuilder
- Specified by:
fromUriBuilderin interfaceRestNavigation
-
fromReference
- Specified by:
fromReferencein interfaceNavigation
-
collection
Description copied from interface:Navigationa builder to produce a URL to the collection that the content belongs to.- Specified by:
collectionin interfaceNavigation
-
collection
Description copied from interface:Navigationa builder to produce a URL to the collection that the space belongs to.- Specified by:
collectionin interfaceNavigation
-
space
Description copied from interface:Navigationcreate a space nav builder to reference the given space- Specified by:
spacein interfaceNavigation
-
space
Description copied from interface:Navigationcreate a space nav builder to reference the given space- Specified by:
spacein interfaceNavigation
-
spacePermission
Description copied from interface:Navigationcreate a space permission nav builder to reference all the permissions of the given space key- Specified by:
spacePermissionin interfaceNavigation
-
spacePermission
public Navigation.SpacePermissionNav spacePermission(Reference<SpacePermissionContainer> spacePermissions) Description copied from interface:Navigationcreate a space permission nav builder to reference all the permissions of the given space restriction- Specified by:
spacePermissionin interfaceNavigation
-
group
Description copied from interface:Navigationa builder to produce a url to a user group- Specified by:
groupin interfaceNavigation
-
user
Description copied from interface:Navigationcreate a user nav builder to reference the user with the given user key- Specified by:
userin interfaceNavigation- Returns:
-
longTask
- Specified by:
longTaskin interfaceNavigation
-