Package com.atlassian.confluence.api.nav
Interface Navigation
- 
- All Known Subinterfaces:
 RestNavigation
- All Known Implementing Classes:
 RestNavigationImpl
public interface NavigationNavBuilder facilitates building URLs from our model objects.Inject NavBuilderService into your component and use that to create instances of a NavBuilder
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNavigation.Builderstatic interfaceNavigation.ContentNavstatic interfaceNavigation.ContentRestrictionByOperationNavstatic interfaceNavigation.ExperimentalContentNavExperimentalContentNav will change as new resources are added and promoted to production.static interfaceNavigation.ExperimentalContentTemplateNavstatic interfaceNavigation.ExperimentalNavExperimentalNav will change as new resources are added and promoted to production.static interfaceNavigation.ExperimentalSynchronyDataNavstatic interfaceNavigation.GroupNavstatic interfaceNavigation.LongTaskNavstatic interfaceNavigation.SpaceContentNavstatic interfaceNavigation.SpaceNavstatic interfaceNavigation.UserNav 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Navigation.BuilderbaseApiPath()StringbaseUrl()Navigation.Buildercollection(Content content)a builder to produce a URL to the collection that the content belongs to.Navigation.Buildercollection(Space space)a builder to produce a URL to the collection that the space belongs to.Navigation.ContentNavcontent(Content content)create a content nav builder to reference a piece of contentNavigation.ContentNavcontent(ContentSelector selector)Create a content nav builder to reference a piece of content with a particular id, status and version.Navigation.ContentNavcontent(ContentId contentId)Deprecated.since 5.10 Usecontent(ContentSelector).Navigation.ContentNavcontent(Reference<Content> contentReference)create a content nav builder to reference a piece of contentStringcontextPath()Navigation.ExperimentalNavexperimental()Navigation.BuilderfromReference(Reference<?> reference)Navigation.GroupNavgroup(Group group)a builder to produce a url to a user groupNavigation.LongTaskNavlongTask(LongTaskId id)Navigation.SpaceNavspace(Space space)create a space nav builder to reference the given spaceNavigation.SpaceNavspace(Reference<Space> spaceReference)create a space nav builder to reference the given spaceNavigation.UserNavuser(com.atlassian.sal.api.user.UserKey userKey)create a user nav builder to reference the user with the given user key 
 - 
 
- 
- 
Method Detail
- 
experimental
Navigation.ExperimentalNav experimental()
 
- 
content
Navigation.ContentNav content(Content content)
create a content nav builder to reference a piece of content 
- 
content
Navigation.ContentNav content(Reference<Content> contentReference)
create a content nav builder to reference a piece of content 
- 
content
@Deprecated Navigation.ContentNav content(ContentId contentId)
Deprecated.since 5.10 Usecontent(ContentSelector).create a content nav builder to reference a piece of content 
- 
content
Navigation.ContentNav content(ContentSelector selector)
Create a content nav builder to reference a piece of content with a particular id, status and version. 
- 
space
Navigation.SpaceNav space(Reference<Space> spaceReference)
create a space nav builder to reference the given space 
- 
user
Navigation.UserNav user(com.atlassian.sal.api.user.UserKey userKey)
create a user nav builder to reference the user with the given user key- Parameters:
 userKey-- Returns:
 
 
- 
collection
Navigation.Builder collection(Content content)
a builder to produce a URL to the collection that the content belongs to. 
- 
collection
Navigation.Builder collection(Space space)
a builder to produce a URL to the collection that the space belongs to. 
- 
space
Navigation.SpaceNav space(Space space)
create a space nav builder to reference the given space 
- 
longTask
Navigation.LongTaskNav longTask(LongTaskId id)
 
- 
group
Navigation.GroupNav group(Group group)
a builder to produce a url to a user group 
- 
contextPath
String contextPath()
 
- 
baseUrl
String baseUrl()
 
- 
baseApiPath
Navigation.Builder baseApiPath()
 
- 
fromReference
Navigation.Builder fromReference(Reference<?> reference)
 
 - 
 
 -